Skip to content

Commit

Permalink
magit: properly bind escape key
Browse files Browse the repository at this point in the history
  • Loading branch information
condy0919 committed Jul 7, 2021
1 parent d8d8b13 commit d97e0ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modes/magit/evil-collection-magit.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -510,7 +510,7 @@ denotes the original magit key for this command.")
(dolist (cmd evil-collection-magit-rebase-commands-w-descriptions)
(insert
(format "%s %-8s %s\n"
comment-start
comment-start
(if (and (car cmd)
(eq (nth 1 cmd)
(lookup-key aux-map (kbd (car cmd)))))
Expand Down

0 comments on commit d97e0ff

Please sign in to comment.