Questions tagged [ido-find-file]
26 questions
7
votes
1 answer
Pick a window for ido-find-file-other-window and ido-switch-buffer-other-window
Thanks to @itsjeyd, I've come to love ace-window, but now I want more.
I use C-x 4 f and C-x 4 b to invoke the commands ido-find-file-other-window and ido-switch-buffer-other-window, but I want to pick the window to be used. That is, I want to use…

Colin Fraizer
- 740
- 4
- 12
7
votes
1 answer
How to replicate the "~/"-to-home & "//"-to-root behaviour in ido-find-file but for a custom directory?
When calling ido-find-file it's possible to type ~/ to replace the current working directory with your home directory automatically:
Find file: /etc/{...} # after typing ~/ becomes:
Find file: ~/{...}
How can I replicate this but for a custom…

undostres
- 1,793
- 12
- 15
5
votes
3 answers
Quickly open file by full path in clipboard
There is something that blocks my workflow quite often and I'm quite sure it's easy to solve.
I sometimes copy file paths (e.g. /tmp/bar/foo.gz) from the command line into my host systems clipboard. Then I want to open them inside emacs and edit…

cb0
- 1,077
- 8
- 11
3
votes
1 answer
How can I specify the maximum number of windows
I like to work with two windows split horizontally or vertically. However, when I try to use C-x 4 f (ido-find-file-other-window) when I already have two windows, it will split one of my windows so I have a total of three windows. How can I change…

hatmatrix
- 1,046
- 9
- 18
3
votes
1 answer
Equivalent to `ido-find-file` functionality for ivy/counsel?
I really like how ido-find-file, if it can’t find a file matching your string (and you’ve let it idle for like a second), will search your whole home directory for files matching that string, and then your whole directory tree. (At least, I think…

Tina Russell
- 380
- 2
- 10
3
votes
1 answer
ido flex matching doesn't seem to work, or works partially
I'm running emacs 24.5.1, with the built in ido-mode. I enable (setq ido-mode-flex-matching t) and (ido-mode 1)in my startup file, and ido matching (at least the prefix and substring types of matching) work fine in the minibuffer.
But "flex…

Kevin
- 1,308
- 8
- 20
2
votes
1 answer
Override ido-completion-map to change window target
Sometimes I open ido-find-file or ido-switch-buffer but when I find the file I want to open, I realize I want to open it in other-window. I have key bindings for ido-find-file-other-window and others, but I would like the option to open the selected…

waymondo
- 1,384
- 11
- 16
2
votes
1 answer
C-x C-f Problem:
When i want to create a new file with C-x C-f (ido-find-file), and type main.lua, Emacs does not create a new file in the current directory (default-directory). Instead, it visits an existing main.lua which is in another directory.
Similarly when I…

oleg harput
- 51
- 1
2
votes
1 answer
How to sort files by type in ido
I've seen a tip several times that ido-file-extensions-order can be used to easily order files. Setup is straightforward (code at bottom), but these filetypes are only given preference when choosing between two otherwise identical files. Is there a…

user2699
- 2,181
- 16
- 32
2
votes
1 answer
Why does ido-find-file still show . when ido-ignore-directories seems to exclude it?
I have my ido-ignore-directories set to the standard value:
("\\`CVS/" "\\`\\.\\./" "\\`\\./")
The third regexp, "\`\./" should ignore the current directory, as near as I can tell. However, it doesn't:
Find file read only: ~/{. | Desktop/ |…

Trebor Rude
- 276
- 1
- 12
1
vote
1 answer
ido-find-file how to prevent `In this buffer, type RET to select the completion near point.` message to show up
I keep seeing following at the top of the buffer when I do: ido-find-file.
In this buffer, type RET to select the completion near point.
Possible completions are:
Would it be possible to prevent this message to show up?

alper
- 1,238
- 11
- 30
1
vote
1 answer
Global `C-x C-f` binding is overridden
I don't like ido-find-file, which seems to be the default response to C-x C-f in my Emacs 23.1.1 installation on Centos. I tried to change it in my .emacs file:
(global-set-key (kbd "C-x C-f") 'find-file)
This doesn't change anything, at least in…

Steve
- 11
- 1
1
vote
1 answer
Icicle: After load icicles the ido mode is gone?
windows 10, emacs 26.1, icicles
Before Icicles when I type C-x C-f is show list of folders/files in ido mode. And it's very comfortable for me.
But after I install Icicles and turn on icy-mode the ido mode is gone (e.g. when I type C-x C-f). Is it…

a_subscriber
- 3,854
- 1
- 17
- 47
1
vote
0 answers
ido-enabled find-file does not match an existing file name when I yank file name and directory
I enabled IDO mode in my emacs (version 25.2.1, Linux) and now I am trying to open a file.
I am in the directory ~/foo .
The file is ~/foo/baz/bar.cpp and it does exist.
I have baz/bar.cpp in my kill ring.
I press C-x C-f , followed by C-y.
The…

Arkadiy
- 111
- 3
1
vote
1 answer
IDO mode: How to go to beginning of line in minibuffer?
When using IDO mode when I start searching for files it always begins in the working directory of my current file.
Usually I like this, however, if I want to search in a significantly different directory I like to press C-a to go to the beginning of…

Startec
- 1,354
- 1
- 13
- 30