Questions tagged [ido-mode]

Emacs mode for files

ido-mode is a mode that is included with emacs since version 22. It lets you "interactively do things" with buffers and files. In general, it can make it much faster and easier to navigate among both open buffers and different files in a project.

30 questions
114
votes
5 answers

emacs create new file with ido enabled

I reciently switched to emacs starter kit which includes the ido package. ido has a nice feature that suggests paths when find-file which is usually very handy except when trying to create a new file. When the new file name matches a suggestion in…
Kurt Harriger
  • 2,507
  • 4
  • 20
  • 21
90
votes
1 answer

Ido mode is too smart, can I get it to NOT complete a filename?

My problem: I have Ido-mode enabled and I want to edit (for example) a file .emacs in my home directory. I have no .emacs file there, but I do have a .emacs.d, and so ido assumes that I want to enter the directory when I do C-x C-f .emacs RET. I've…
quodlibetor
  • 8,185
  • 4
  • 35
  • 48
41
votes
3 answers

Emacs: disable automatic file search in ido mode

I use ido mode. Here is how I set in .emacs (require 'ido) (setq ido-enable-flex-matching t) (setq ido-everywhere t) (ido-mode t) When I open a file, I do C-x C-f my_file and if it doesn't exist in current directory, emacs will try to search for it…
woodings
  • 7,503
  • 5
  • 34
  • 52
38
votes
3 answers

Emacs ido-mode and creating new files in directories, it keeps changing the directory while I'm typing

When using ido-mode in emacs, it tends to get in my way when I'm trying to create a new file inside a directory, using: C-x C-f ( start typing a new filename, which doesn't yet exist ) RET Ordinarily this should create a new file, but when I have…
d11wtq
  • 34,788
  • 19
  • 120
  • 195
23
votes
2 answers

Opening multiple files at once in Emacs

In Emacs using ido-mode allows me to open a file from the minibuffer with C-xC-f. This method opens only one file at a time. How do I open all the files in a directory or specify more than one file to open?
hekevintran
  • 22,822
  • 32
  • 111
  • 180
21
votes
1 answer

How do I change drive letter in ido mode (Emacs)?

I'm using Emacs on windows. My default folder is c:/home, but I want to edit my file in d:/ how to do it in ido mode ? I tried // but that put me in c:/. Currently, I use C-f (change back to normal find file mode), but that defeat the purpose of…
Tg.
  • 5,608
  • 7
  • 39
  • 52
20
votes
8 answers

Emacs recursive project search

I am switching to Emacs from TextMate. One feature of TextMate that I would really like to have in Emacs is the "Find in Project" search box that uses fuzzy matching. Emacs sort of has this with ido, but ido does not search recursively through…
hekevintran
  • 22,822
  • 32
  • 111
  • 180
13
votes
6 answers

Can I use ido-completing-read instead of completing-read everywhere?

I'm a big fan of ido-mode, so much so that I would like to use it for things like describe-function or find-tag and so on, without having to write something like in "Can I get ido-mode-style completion for searching tags in Emacs?" for each…
haxney
  • 3,358
  • 4
  • 30
  • 31
12
votes
2 answers

In Emacs, how can I have the same buffer open in multiple frames (when using ido/iswitch)?

In emacs, I'd like to open the same buffer in multiple frames. Before I used ido, this was easy: I'd just switch to the buffer in one frame with C-x b, then focus a different frame in my window manager, and then open the buffer in that other frame…
Geoff
  • 4,372
  • 5
  • 25
  • 29
8
votes
4 answers

How to quickly find file in the workspace/switch between buffers/etc. in Eclipse?

I am looking for something like Textmate's fuzzy search on Command-T, FuzzyFinder in Vim, or Ido in Emacs. Does it exist? If no, how do you prefer to do it?
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
7
votes
3 answers

Emacs: Switching Between Buffers with the Same Name but in Different Directories

I have two files with the same name but in different directories: apples/main.cpp oranges/main.cpp I open them in one emacs window via emacs apples/main.cpp oranges/main.cpp When I use C-x b to switch between these two buffers, the buffer names are…
Alan Turing
  • 12,223
  • 16
  • 74
  • 116
6
votes
2 answers

How can I have term.el (ansi-term) track directories if using anyhting other than bash

When using eshell or ansi-term and bash emacs changes the default-directory variable depending on what directory you are in. So if I move to /home/user/code/project and then use ido-find-file to open a file it starts ido with the CWD. If I use ksh…
Adam
  • 61
  • 2
5
votes
2 answers

copy paste various files using dired on emacs while using ido.el

I'm using emacs with dired, (require 'dired-details) (dired-details-install) and ido, (setq ido-enable-flex-matching t) (setq ido-everywhere t) (ido-mode 1) (setq ido-use-filename-at-point 'guess) (setq ido-create-new-buffer 'always) (as well as…
Massagran
  • 1,781
  • 1
  • 20
  • 29
5
votes
2 answers

In Emacs, is there a command to visit the most recently opened file?

In Emacs, is there a command to open the most recently opened file? Like a visit-most-recent-file? Note that I don't want to view a LIST of recent files and then select one. I want to automatically visit the most recently opened one. It would be…
incandescentman
  • 6,168
  • 3
  • 46
  • 86
4
votes
0 answers

How do I get Emacs ido-dired to list directories first at the top, above files?

In GNU Emacs, using ido-mode, ido-dired mixes files and directories in the list. How do I get Emacs ido-dired to list directories at the top, above files? (Bonus question: How do I get ido-dired to list files in case-insensitive order?)
incandescentman
  • 6,168
  • 3
  • 46
  • 86
1
2