I was using regular find-file
, and have a current setup to delete a word, which was working inside find-file
.
(defun backward-delete-word (arg)
"Delete characters backward until encountering the beginning of a word.
With argument ARG, do this that many times."
(interactive "p")
(delete-region (point) (progn (backward-word arg) (point))))
(global-set-key "\C-o" 'backward-delete-word)
When I switch to ido
via (ido-mode 1)
word deletion does not work in ido-find-file minibuffer.
[Q] Is there any way to do backward word deletion in ido-find-file
?
M-backspace
orM-DEL
to delete words backward. It's bound tobackward-kill-word
\C-o
?define-key
orglobal-set-key
depending your goals. Be careful with global bindings.\C-o
for it as ((global-set-key "\C-o" 'backward-kill-word)
); butido
sees it as TAB(global-set-key (kbd "C-o") 'backward-kill-word)