mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
In fido-vertical-mode, let C-s and C-r recover their original use
Fido-mode is meant for ido-mode emulation, so it makes some sense C-r and C-s moves forward and backward in the list as ido-mode once did. The price to pay is losing easy access to isearch-backward/forward in completions. In fido-vertical-mode, this price is unreasonably high given C-p and C-n are the natural bindings for moving about in the vertical list. * lisp/icomplete.el (icomplete-fido-mode-map): Disable C-s and C-r in fido-vertical-mode.
This commit is contained in:
parent
4477ade0fa
commit
7de1d99d3a
1 changed files with 4 additions and 2 deletions
|
|
@ -489,8 +489,10 @@ if that doesn't produce a completion match."
|
|||
"C-m" #'icomplete-fido-ret
|
||||
"DEL" #'icomplete-fido-backward-updir
|
||||
"M-j" #'icomplete-fido-exit
|
||||
"C-s" #'icomplete-forward-completions
|
||||
"C-r" #'icomplete-backward-completions
|
||||
"C-s" `(menu-item "" icomplete-forward-completions
|
||||
:filter ,(lambda (x) (unless fido-vertical-mode x)))
|
||||
"C-r" `(menu-item "" icomplete-backward-completions
|
||||
:filter ,(lambda (x) (unless fido-vertical-mode x)))
|
||||
"<right>" #'icomplete-forward-completions
|
||||
"<left>" #'icomplete-backward-completions
|
||||
"C-." #'icomplete-forward-completions
|
||||
|
|
|
|||
Loading…
Reference in a new issue