I have this setup:
(setq ido-everywhere t)
(ido-mode 1)
Well, of course there is more, but I believe that this is relevant portion.
Some time ago I wanted to have IDO for dired-do-copy
and dired-do-rename
and someone on IRC #emacs
channel told me to add this to my config:
(put 'dired-do-copy 'ido nil) ; use ido there
(put 'dired-do-rename 'ido nil) ; ^
…it worked!
Now I would like to do the opposite: I need to completely disable IDO for
dired-create-directory
, because it doesn't make any sense there (but
ido-everywhere
activates it there).
Of course I have some other stuff like ido-ubiquitous
, and ido-hacks
,
but I don't know if I should try to mess with these packages to do what I
want to do.
Q: how to disable IDO for dired-create-directory
?
Attention of future readers: @Drew's answer doesn't work, although it has been upvoted by people who didn't care to try it (including me). There are better (and more general) ways to do it, see below.
C-j
(bound toido-select-text
) instead ofenter
to effectively turnido
"off" for that particular selection.C-f
when I could avoid it altogether. This is such a minor problem, but I got really curious about its solution.