all repos — nixfiles @ 45fc92eca5278aac40e472b903ac34ced76fdd9c

System and user configuration, managed by nix and home-manager

Emacs: auto-load consult-ghq and magit when idle
Alan Pearce alan@alanpearce.eu
Sun, 16 Jul 2023 09:44:36 +0200
commit

45fc92eca5278aac40e472b903ac34ced76fdd9c

parent

b2a580f67f49332ea65a45225b7d1b12fefdbc2d

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -941,6 +941,7 @@ (evil-ex-define-cmd "pb" #'project-switch-to-buffer)               (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 @@ :config (progn             (envrc-global-mode)))
 
 (use-package magit
+  :defer 5
   :commands (magit-status magit-dispatch)
   :init (progn
           (customize-set-value 'magit-auto-revert-mode nil))