emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e6fb7e4: Bind <up> and <down> in icomplete-vertical-mode


From: João Távora
Subject: master e6fb7e4: Bind <up> and <down> in icomplete-vertical-mode
Date: Tue, 17 Aug 2021 08:09:42 -0400 (EDT)

branch: master
commit e6fb7e44cc7da97f7c29246dbff89009de9a4633
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Bind <up> and <down> in icomplete-vertical-mode
    
    Suggested by Ergus <spacibba@aol.com>
    
    * lisp/icomplete.el (icomplete-vertical-mode-minibuffer-map): Bind
    <up> and <down>
---
 lisp/icomplete.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 96b7e0f..81fc6ff 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]