]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind <up> and <down> in icomplete-vertical-mode
authorJoão Távora <joaotavora@gmail.com>
Tue, 17 Aug 2021 12:06:06 +0000 (13:06 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 17 Aug 2021 12:06:06 +0000 (13:06 +0100)
Suggested by Ergus <spacibba@aol.com>

* lisp/icomplete.el (icomplete-vertical-mode-minibuffer-map): Bind
<up> and <down>

lisp/icomplete.el

index 96b7e0f20149df24f6eb83fdb461f61ba59f15cc..81fc6ff03cae492a6a0eb44fbe9bb53eb1e65761 100644 (file)
@@ -624,6 +624,8 @@ Usually run by inclusion in `minibuffer-setup-hook'."
   (let ((map (make-sparse-keymap)))
     (define-key map (kbd "C-n") 'icomplete-forward-completions)
     (define-key map (kbd "C-p") 'icomplete-backward-completions)
+    (define-key map (kbd "<down>") 'icomplete-forward-completions)
+    (define-key map (kbd "<up>") 'icomplete-backward-completions)
     (define-key map (kbd "M-<") 'icomplete-vertical-goto-first)
     (define-key map (kbd "M->") 'icomplete-vertical-goto-last)
     map)