mirror of
https://github.com/jojojames/evil-collection.git
synced 2024-06-30 08:00:54 +02:00
magit: properly bind escape key
This commit is contained in:
parent
d8d8b13c3e
commit
d97e0ff4af
|
@ -368,7 +368,7 @@ moment.")
|
||||||
((visual) magit-mode-map "y" magit-copy-section-value))
|
((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 "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
|
(when evil-collection-magit-use-z-for-folds
|
||||||
`((,states magit-mode-map "z")
|
`((,states magit-mode-map "z")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user