Skip to main content
4 of 4
added 1 character in body
Arch Stanton
  • 1.8k
  • 13
  • 23

I don't know if this was possible 5 years ago, anyway, you can do

(add-to-list 'ido-read-file-name-non-ido 'dired-create-directory)

By itself this only works for commands that don't use Ido completion unless ido-everywhere is enabled. I think commands that use Ido even when ido-everywhere is turned off do so because Ido remaps their key bindings to the ido- version of the original command. In that case you have to disable Ido completion for the original command by adding it to the ido-read-file-name-non-ido list and undo Ido's remapping. For example, disabling Ido for C-x w requires

(ido-mode) ; The unmapping must be done after Ido is initialized.
(add-to-list 'ido-read-file-name-non-ido 'write-file)
(define-key (cdr ido-minor-mode-map-entry) [remap write-file] nil)
Arch Stanton
  • 1.8k
  • 13
  • 23