Questions tagged [ido-find-file]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

IDO find file stay in TRAMP

When going to M-x ido-find-file then going to sudo /sudo::/ I can browse files as root but if I enter // or ~ it escapes TRAMP. How do I prevent it?
0
votes
0answers
12 views

Why ido mode not show keybinding?

Emacs 26.1 Suppose I use command (ido-find-file) (C-x C-f) Here help: It is bound to <open>, C-x C-f, <menu-bar> <file> <new-file>. (ido-find-file) As you can see the ...
0
votes
0answers
23 views

Is there a way to split-window-right and switch-to-buffer / find-file in single command?

As described in question title. Closest solution that I can find is to use ido-find-file-other-window orido-switch-buffer-other-windew, but these create a horizontal split by default, and if a ...
0
votes
0answers
34 views

Extending ido-find-file to call deadgrep produces minubuffer error

I'm trying to add a key binding to ido-find-file, so that it calls deadgrep from the current directory. Similar to how pressing C-d from ido-find-file calls dired. The problem is that both deadgrep ...
0
votes
0answers
23 views

Stop ido-find-file opening directories as dired buffer

I use ido-find-file to open files on my disk. The defaul behaviour is that if I type (part of) directory name RET, ido-find-file enters the directory and I can continue searching for my file. Since ...
2
votes
1answer
245 views

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 ...
0
votes
1answer
34 views

How to stop ido-find-file/ido-switch-buffer prioritising the current buffer/file?

For example, if I have a Test.cpp and a Test.h and one of them is open, ido-find-file will often suggest the already-open one first if I type "Test". Likewise when both are open and the current buffer ...
1
vote
1answer
47 views

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 ...
1
vote
0answers
32 views

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 ...
1
vote
1answer
113 views

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 ...
1
vote
1answer
105 views

ido-find-file: typing “//” triggers loading of tramp

When using M-x``ido-find-file and typing "//" via keyboard in the minibuffer, some hook or function is triggered which starts loading the tramp package. Which tramp function is triggered and how to ...
1
vote
1answer
715 views

Disk interaction occasionally extremely slow

I'm using GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 on Windows 7. Somedays (yes, weirdly, it seems to be only some days), Emacs takes a very long time (a few seconds) when reading or ...
1
vote
3answers
282 views

Fuzzy search for directory when you don't know the full directory name

Say I want to find a directory like: foo/bar/bazz/bar/directory_name_looking_for/stuff.xml And I don't know the intermediate directory paths, or the full directory name, but remember that the ...
1
vote
0answers
26 views

Q: How to speed up ido when opening a file in /etc?

Emacs 24.5.1, Funtoo. When I'd like to open a file in /etc, the ido-find-file would stuck for about two minutes. It looks ido is going thru the / dir for caching the directory names, but this is ...
3
votes
1answer
189 views

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)...
1
vote
0answers
76 views

ido-find-file and dropping into directory

Reading the documentation for ido-find-file it says pressing C-d will open the specified directory in dired. However I can't get this to work no matter what text I leave in the minibuffer, could ...
0
votes
1answer
42 views

Tell ido-find-file not to run py-shell on python-mode

I have python-mode installed. When editing any python script, if I have the point over any python statement, I noted that when using ido-mode and using any ido-find function, py-shell runs, opening a ...
1
vote
0answers
32 views

ido-find-file: directory names with hyphens are listed first

When using ido-find-file (C-x C-f) to navigate through directories, directories that have a hyphen in the name are listed before shorter matches with no hyphen. For example, if directories named "dir1"...
4
votes
3answers
679 views

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. ...
2
votes
1answer
227 views

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 ...
2
votes
1answer
183 views

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'...
0
votes
0answers
173 views

Completing from filesystem search in ido-find-file

By default, when a pattern that has been typed matches no results, after a short pause in typing ido-find-file goes on to try to locate a matching file in one of recently visited directories (I ...
2
votes
1answer
122 views

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, ...
6
votes
1answer
333 views

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 ...
7
votes
1answer
163 views

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: ~/{...}...