1
0
mirror of https://github.com/jojojames/evil-collection.git synced 2024-06-27 07:35:06 +02:00

magit: properly bind escape key

This commit is contained in:
condy 2021-07-08 02:27:39 +08:00
parent d8d8b13c3e
commit d97e0ff4af

View File

@ -368,7 +368,7 @@ moment.")
((visual) magit-mode-map "y" magit-copy-section-value))
`((,states magit-mode-map "v" set-mark-command)
(,states magit-mode-map "V" set-mark-command)
(,states magit-mode-map "<escape>" evil-collection-magit-maybe-deactivate-mark)))
(,states magit-mode-map ,(kbd "<escape>") evil-collection-magit-maybe-deactivate-mark)))
(when evil-collection-magit-use-z-for-folds
`((,states magit-mode-map "z")