From e3043a73fb1339410b0a96d954734649d7aa1dd8 Mon Sep 17 00:00:00 2001 From: Jimmy Aguilar Mena Date: Sun, 10 Nov 2019 04:39:53 +0100 Subject: [PATCH] Add extra bindings to fido-mode. * lisp/icomplete.el (icomplete-fido-mode-map) : Add arrows and other bindings to reproduce ido behaviour. --- lisp/icomplete.el | 5 +++++ 1 file changed, 5 insertions(+) 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 "") 'icomplete-forward-completions) + (define-key map (kbd "") '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.") -- 2.39.5