Emacs: make magit-project-status available early
Alan Pearce alan@alanpearce.eu
Thu, 25 Apr 2024 17:16:47 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -982,6 +982,10 @@ :commands (magit-status magit-dispatch) :init (progn (customize-set-value 'magit-auto-revert-mode nil)) :general ([remap project-vc-dir] #'magit-project-status) + (:keymaps 'project-prefix-map "m" #'magit-project-status) + :init (progn + (with-eval-after-load 'project + (add-to-list 'project-switch-commands '(magit-project-status "Magit") t))) :config (progn (setq magit-section-visibility-indicator nil magit-diff-refine-hunk 'all