ido-find-file: Open dired

24 views
Skip to first unread message

Florian Lindner

unread,
Feb 24, 2015, 4:37:54 AM2/24/15
to emacs...@googlegroups.com
Hello,

using ido with ido-mode and ido-everywhere I could use ido-find-file to
navigate to a directoy and open that using C-d.

Now I'm using helm mostly but I prefer ido for find-file:

(add-to-list 'helm-completing-read-handlers-alist '(find-file . ido))
(setq ido-enable-flex-matching t)
(setq ido-file-extensions-order '(".tex"))

C-d to open the directoy does not work here. How can I reenable it or
something similiar?

Thanks,
Florian

Thierry Volpiatto

unread,
Feb 25, 2015, 2:13:13 AM2/25/15
to emacs...@googlegroups.com

Florian Lindner <mailin...@xgm.de> writes:

> Hello,
>
> using ido with ido-mode and ido-everywhere I could use ido-find-file to
> navigate to a directoy and open that using C-d.
>
> Now I'm using helm mostly but I prefer ido for find-file:
>
> (add-to-list 'helm-completing-read-handlers-alist '(find-file . ido))

This will use ido-read-file-name but will not provide the keymap that
comes with ido-find-file.

> C-d to open the directoy does not work here. How can I reenable it or
> something similiar?

So what you want is:
(ido-mode 1)
(global-set-key (kbd "C-x C-f") 'ido-find-file)

But I suggest you use helm for finding your files by using
helm-find-files instead of find-file or ido-find-file.

Try M-x helm-find-files, you will see all the features available...
You will want to bind it to C-x C-f.

--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
Reply all
Reply to author
Forward
0 new messages