summaryrefslogtreecommitdiff
path: root/lisp/icomplete.el
diff options
context:
space:
mode:
authorJimmy Aguilar Mena <spacibba@aol.com>2019-11-10 04:39:53 +0100
committerJimmy Aguilar Mena <spacibba@aol.com>2019-11-10 04:48:23 +0100
commite3043a73fb1339410b0a96d954734649d7aa1dd8 (patch)
tree57745bc08efe777fa81e3b7047ac44f94a26af29 /lisp/icomplete.el
parent2f36a0821491f25fb52d4f3c6f4a7aebb923225f (diff)
downloademacs-e3043a73fb1339410b0a96d954734649d7aa1dd8.tar.gz
Add extra bindings to fido-mode.
* lisp/icomplete.el (icomplete-fido-mode-map) : Add arrows and other bindings to reproduce ido behaviour.
Diffstat (limited to 'lisp/icomplete.el')
-rw-r--r--lisp/icomplete.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index f7e08fe1358..d0d3d65c346 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -305,10 +305,15 @@ require user confirmation."
(define-key map (kbd "C-k") 'icomplete-fido-kill)
(define-key map (kbd "C-d") 'icomplete-fido-delete-char)
(define-key map (kbd "RET") 'icomplete-fido-ret)
+ (define-key map (kbd "C-m") 'icomplete-fido-ret)
(define-key map (kbd "DEL") 'icomplete-fido-backward-updir)
(define-key map (kbd "M-j") 'exit-minibuffer)
(define-key map (kbd "C-s") 'icomplete-forward-completions)
(define-key map (kbd "C-r") 'icomplete-backward-completions)
+ (define-key map (kbd "<right>") 'icomplete-forward-completions)
+ (define-key map (kbd "<left>") 'icomplete-backward-completions)
+ (define-key map (kbd "C-.") 'icomplete-forward-completions)
+ (define-key map (kbd "C-,") 'icomplete-backward-completions)
map)
"Keymap used by `fido-mode' in the minibuffer.")