all repos — nixfiles @ 280490105e3ce5faa8eb96704a2760866d67243f

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

Emacs: remove deprecated evil-magit package

Consumed by evil-collection
Alan Pearce alan@alanpearce.eu
Sun, 20 Dec 2020 23:23:23 +0100
commit

280490105e3ce5faa8eb96704a2760866d67243f

parent

308f036b910b8c548ecd5c9a65dc8b12039a120e

2 files changed, 3 insertions(+), 8 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -310,6 +310,9 @@ :defer 3   :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
@@ -358,13 +361,6 @@ (use-package evil-commentary   :after evil
   :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
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -108,7 +108,6 @@ evil-collection       evil-commentary
       evil-embrace
       evil-ledger
-      evil-magit
       evil-matchit
       evil-mu4e
       evil-numbers