Browse Source

Attach evilmagit to magit, and lazy load both

Josh Bicking 7 years ago
parent
commit
61571e91e0
1 changed files with 4 additions and 3 deletions
  1. 4 3
      emacs.d/packages/packages.el

+ 4 - 3
emacs.d/packages/packages.el

@@ -632,13 +632,14 @@
   :if (not (eq system-type 'windows-nt))
   :ensure t
   :defer t
-  :diminish magit-auto-revert-mode)
+  :diminish magit-auto-revert-mode
+  :config
+  (evil-magit-init))
 
 (use-package evil-magit
   :if (not (eq system-type 'windows-nt))
   :ensure t
-  :config
-  (evil-magit-init))
+  :commands evil-magit-init)
 
 (use-package multi-term
   :if (not (eq system-type 'windows-nt))