summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-06-16 07:24:40 +0200
committerAlan Pearce2023-06-16 07:24:40 +0200
commit46af3c598d6c79a3196e29cc0bb1ca24e7fcb1b5 (patch)
treef24ce21d39e455436f07edf06d8b46838770a6e7 /user/emacs
parent169751f093733a0d041688be93f38f2a472202cd (diff)
downloadnixfiles-46af3c598d6c79a3196e29cc0bb1ca24e7fcb1b5.tar.lz
nixfiles-46af3c598d6c79a3196e29cc0bb1ca24e7fcb1b5.tar.zst
nixfiles-46af3c598d6c79a3196e29cc0bb1ca24e7fcb1b5.zip
Emacs: enable jumping to magit when switching first project
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 21d51ff7..f41c4942 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -915,7 +915,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package magit
   :defer 5
   :commands (magit-status magit-dispatch)
-  :init (customize-set-value 'magit-auto-revert-mode nil)
+  :init (progn
+          (customize-set-value 'magit-auto-revert-mode nil)
+          (require 'magit-extras))
   :general ([remap project-vc-dir] #'magit-project-status)
   :config (progn
             (setq magit-section-visibility-indicator nil