summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-07-29 14:09:57 +0200
committerAlan Pearce2020-07-29 14:10:29 +0200
commit2d7757a62478d08ca47d4318b9d368402e8f27ad (patch)
treed6a8bb12c8ea010199ae18f7e10b82743f70aa24
parent461ed52fc447820c28df474dc8a5fb06c76333cd (diff)
downloadnixfiles-2d7757a62478d08ca47d4318b9d368402e8f27ad.tar.lz
nixfiles-2d7757a62478d08ca47d4318b9d368402e8f27ad.tar.zst
nixfiles-2d7757a62478d08ca47d4318b9d368402e8f27ad.zip
Emacs: don't bury magit buffers with ESC
-rw-r--r--user/emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index d58ee537..ee110712 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -362,7 +362,10 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 (use-package evil-magit
   :after magit
-  :config (setq evil-magit-use-y-for-yank nil))
+  :config (progn
+            (setq evil-magit-use-y-for-yank nil)
+            (general-unbind 'normal magit-mode-map
+              "<escape>"))
 
 (use-package evil-matchit
   :after evil