magit: interpret evil-toggle-key in the right way

fix #492
This commit is contained in:
condy 2021-06-26 03:29:08 +08:00
parent 9ee6cc986f
commit c7f85d330b
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ moment.")
(,states magit-mode-map ,(kbd "S-SPC") magit-diff-show-or-scroll-up "SPC")
(,states magit-mode-map ,(kbd "S-DEL") magit-diff-show-or-scroll-down "DEL")
((,evil-collection-magit-state) magit-mode-map ,evil-toggle-key evil-emacs-state)
((,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))
(if (eq evil-search-module 'evil-search)