diff options
| author | Nicholas Vollmer <iarchivedmywholelife@gmail.com> | 2021-06-27 21:39:03 -0400 |
|---|---|---|
| committer | Youmu <condy0919@gmail.com> | 2021-06-28 18:26:48 +0800 |
| commit | 6c97b0c18678fdb1d6370c30324bc8df9a8fb1e1 (patch) | |
| tree | c3688222322f7ba339d114e27a45bd48fccf6a6d /modes/magit/evil-collection-magit.el | |
| parent | 84e5531e2663cfb78096e9b9459ba39711a2f87e (diff) | |
Properly bind escape in magit-mode-map
Without using `kbd', each key in the string "<escape>" is interpreted as a
prefix key.
Diffstat (limited to 'modes/magit/evil-collection-magit.el')
| -rw-r--r-- | modes/magit/evil-collection-magit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modes/magit/evil-collection-magit.el b/modes/magit/evil-collection-magit.el index cac87d5..48fa303 100644 --- a/modes/magit/evil-collection-magit.el +++ b/modes/magit/evil-collection-magit.el @@ -320,7 +320,7 @@ moment.") (,states magit-mode-map ,(kbd "S-DEL") magit-diff-show-or-scroll-down "DEL") ((,evil-collection-magit-state) magit-mode-map ,(kbd evil-toggle-key) evil-emacs-state) - ((,evil-collection-magit-state) magit-mode-map "<escape>" magit-mode-bury-buffer)) + ((,evil-collection-magit-state) magit-mode-map ,(kbd "<escape>") magit-mode-bury-buffer)) (if (eq evil-search-module 'evil-search) `((,states magit-mode-map "/" evil-ex-search-forward) |
