Fix escape in in emacs-state, yet preserving minibuffer quit functionality

This commit is contained in:
Ian Y.E. Pan 2021-04-23 23:53:52 +08:00 committed by Youmu
parent 86923fc307
commit e32e871143
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
;;;###autoload
(defun evil-collection-ivy-setup ()
"Set up `evil' bindings for `ivy-mode'."
(evil-collection-define-key nil 'ivy-mode-map
(evil-collection-define-key nil 'ivy-minibuffer-map
(kbd "<escape>") 'minibuffer-keyboard-quit)
(evil-collection-define-key 'normal 'ivy-occur-mode-map
[mouse-1] 'ivy-occur-click