all repos — nixfiles @ 2d7757a62478d08ca47d4318b9d368402e8f27ad

System and user configuration, managed by nix and home-manager

Emacs: don't bury magit buffers with ESC
Alan Pearce alan@alanpearce.eu
Wed, 29 Jul 2020 14:09:57 +0200
commit

2d7757a62478d08ca47d4318b9d368402e8f27ad

parent

461ed52fc447820c28df474dc8a5fb06c76333cd

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -362,7 +362,10 @@ :config (evil-commentary-mode +1)) 
 (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