summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index d7d3753d..61d67bfe 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -392,11 +392,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package evil-collection
   :demand t
   :commands (evil-collection-init)
+  :ghook ('after-init-hook #'evil-collection-init)
   :config (progn
             (setq evil-collection-magit-use-y-for-yank nil)
             (general-unbind 'normal magit-mode-map
-              "<escape>")
-            (evil-collection-init)))
+              "<escape>")))
 
 (general-create-definer my-leader-def
   :keymaps 'override