diff options
| author | Tianshu Wang <wang@tianshu.me> | 2021-10-14 22:23:08 +0800 |
|---|---|---|
| committer | Youmu <condy0919@gmail.com> | 2021-10-16 03:01:39 +0800 |
| commit | 2185798025d2cb6a0247b97b190c59d83ed27e74 (patch) | |
| tree | e28f3e5c1568905511aaab74369097cda9ba3b0a /modes/vertico | |
| parent | 6709c1ec4118c8721df43ea6708ae45ebbc01fd3 (diff) | |
use esc to quit vertico
Diffstat (limited to 'modes/vertico')
| -rw-r--r-- | modes/vertico/evil-collection-vertico.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modes/vertico/evil-collection-vertico.el b/modes/vertico/evil-collection-vertico.el index ce7e9f6..4d87c45 100644 --- a/modes/vertico/evil-collection-vertico.el +++ b/modes/vertico/evil-collection-vertico.el @@ -31,6 +31,9 @@ ;;;###autoload (defun evil-collection-vertico-setup () "Set up `evil' bindings for `vertico'." + (evil-collection-define-key nil 'vertico-map + (kbd "<escape>") 'minibuffer-keyboard-quit) + (defvar evil-collection-setup-minibuffer) (when evil-collection-setup-minibuffer (when evil-want-C-u-scroll |
