summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-06-25 07:23:36 +0200
committerAlan Pearce2023-06-25 07:23:36 +0200
commitc47ebf86c614125bdf3544f837c74dcb8b615152 (patch)
tree811c03a1f66053918d166d936a6b55c9394329e5
parent03ebfee7952096779408d621fa1cdd64fec1cb01 (diff)
downloadnixfiles-c47ebf86c614125bdf3544f837c74dcb8b615152.tar.lz
nixfiles-c47ebf86c614125bdf3544f837c74dcb8b615152.tar.zst
nixfiles-c47ebf86c614125bdf3544f837c74dcb8b615152.zip
Emacs: delay evil-collection startup
-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