summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el10
-rw-r--r--user/settings/emacs.nix1
2 files changed, 3 insertions, 8 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 517670e2..4311419b 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -310,6 +310,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :demand t
   :commands (evil-collection-init)
   :config (progn
+            (setq evil-collection-magit-use-y-for-yank nil)
+            (general-unbind 'normal magit-mode-map
+              "<escape>")
             (evil-collection-init)))
 
 (general-create-definer my-leader-def
@@ -359,13 +362,6 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :defer 2
   :config (evil-commentary-mode +1))
 
-(use-package evil-magit
-  :after magit
-  :config (progn
-            (setq evil-magit-use-y-for-yank nil)
-            (general-unbind 'normal magit-mode-map
-              "<escape>")))
-
 (use-package evil-matchit
   :after evil
   :defer 2
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 4e150a54..017f8eee 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -108,7 +108,6 @@ in
       evil-commentary
       evil-embrace
       evil-ledger
-      evil-magit
       evil-matchit
       evil-mu4e
       evil-numbers