summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 4 insertions, 0 deletions
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