all repos — nixfiles @ 46af3c598d6c79a3196e29cc0bb1ca24e7fcb1b5

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

Emacs: enable jumping to magit when switching first project
Alan Pearce alan@alanpearce.eu
Fri, 16 Jun 2023 07:24:40 +0200
commit

46af3c598d6c79a3196e29cc0bb1ca24e7fcb1b5

parent

169751f093733a0d041688be93f38f2a472202cd

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -915,7 +915,9 @@ (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