From 8ab1620e52dcc86c5075dcb2e2bbaa82d461f810 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 26 May 2020 21:45:38 -0400 Subject: [PATCH] Require evil-magit at the right time ...although it still seems to not be working? TODO --- emacs/init.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index 27cb542..2e613b1 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -336,9 +336,7 @@ Magit is objectively the best Git interface. :commands (magit-status magit-blame magit-find-file - magit-name-local-branch) - :config - (require 'evil-magit)) + magit-name-local-branch)) #+END_SRC #+BEGIN_SRC emacs-lisp @@ -375,6 +373,9 @@ Evil keybindings for magit! #+BEGIN_SRC emacs-lisp (use-package evil-magit :after (evil magit forge) + :config + (with-eval-after-load 'magit + (require 'evil-magit)) :general ('normal magit-mode-map "SPC" leader-map)) #+END_SRC