summaryrefslogtreecommitdiff
path: root/modes
diff options
context:
space:
mode:
authorcondy <condy0919@gmail.com>2021-07-08 02:27:39 +0800
committercondy <condy0919@gmail.com>2021-07-08 02:27:39 +0800
commitd97e0ff4afa67bd19443245d4f663de29b043a6b (patch)
treeedccb39220a1377ee4e68dd2aeff9f28fe8850ad /modes
parentd8d8b13c3e73cdb499141340816cf1b141ab1ea8 (diff)
magit: properly bind escape key0.0.6
Diffstat (limited to 'modes')
-rw-r--r--modes/magit/evil-collection-magit.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/modes/magit/evil-collection-magit.el b/modes/magit/evil-collection-magit.el
index 48fa303..ba3bd19 100644
--- a/modes/magit/evil-collection-magit.el
+++ b/modes/magit/evil-collection-magit.el
@@ -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")
@@ -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)))))