Skip to main content
added 1 character in body
Source Link
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 commandcommands 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)

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 command 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)

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)
added 291 characters in body
Source Link
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)

For someBy itself this only works for command 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 Ido replacesto the ido- version of the original command with its Ido-version. If that's theIn that case you also needhave to undo this remapping after initializingdisable Ido, completion for the key binding notoriginal command by adding it to call Idothe ido-read-file-name-non-ido list and undo Ido's remapping. For 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)

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)

For some key bindings Ido replaces the command with its Ido-version. If that's the case you also need to undo this remapping after initializing Ido, for the key binding not to call Ido. For example, disabling Ido for C-x w requires

(ido-mode)
(add-to-list 'ido-read-file-name-non-ido 'write-file)
(define-key (cdr ido-minor-mode-map-entry) [remap write-file] nil)

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 command 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)
added 386 characters in body
Source Link
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)

For some key bindings Ido replaces the command with its Ido-version. If that's the case you also need to undo this remapping after initializing Ido, for the key binding not to call Ido. For example, disabling Ido for C-x w requires

(ido-mode)
(add-to-list 'ido-read-file-name-non-ido 'write-file)
(define-key (cdr ido-minor-mode-map-entry) [remap write-file] nil)

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)

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)

For some key bindings Ido replaces the command with its Ido-version. If that's the case you also need to undo this remapping after initializing Ido, for the key binding not to call Ido. For example, disabling Ido for C-x w requires

(ido-mode)
(add-to-list 'ido-read-file-name-non-ido 'write-file)
(define-key (cdr ido-minor-mode-map-entry) [remap write-file] nil)
Source Link
Arch Stanton
  • 1.8k
  • 13
  • 23
Loading