summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-07-16 09:44:36 +0200
committerAlan Pearce2023-07-16 09:44:36 +0200
commit45fc92eca5278aac40e472b903ac34ced76fdd9c (patch)
tree7770c89345fa8844b9d2182730761ab48094ca3f
parentb2a580f67f49332ea65a45225b7d1b12fefdbc2d (diff)
downloadnixfiles-45fc92eca5278aac40e472b903ac34ced76fdd9c.tar.lz
nixfiles-45fc92eca5278aac40e472b903ac34ced76fdd9c.tar.zst
nixfiles-45fc92eca5278aac40e472b903ac34ced76fdd9c.zip
Emacs: auto-load consult-ghq and magit when idle
-rw-r--r--user/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index bf895179..5aedaf7b 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -941,6 +941,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
               (evil-ex-define-cmd "psw[itch]" #'project-switch-project))))
 
 (use-package consult-ghq
+  :defer 5
   :general (:keymaps 'project-prefix-map
                      "o" #'consult-ghq-switch-project)
   :config (progn
@@ -953,6 +954,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (envrc-global-mode)))
 
 (use-package magit
+  :defer 5
   :commands (magit-status magit-dispatch)
   :init (progn
           (customize-set-value 'magit-auto-revert-mode nil))