From 40da57107afa2ee64e0d6d9431a70134b1a3af64 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 25 Apr 2024 17:16:47 +0200 Subject: Emacs: make magit-project-status available early --- user/emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user/emacs/init.el b/user/emacs/init.el index 268a71d3..c8c07aa7 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -982,6 +982,10 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve :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 -- cgit 1.4.1