summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/config.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index ed5ba86..ae97243 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -637,6 +637,15 @@ that simply finds all the TODOs in a repository and displays them in the
:after magit
:init (magit-todos-mode))
+ (defun mango--magit-status ()
+ (interactive)
+ (thread-last
+ (project-current t)
+ (project-root)
+ (magit-status)))
+
+ (add-to-list 'project-switch-commands '(mango--magit-status "Git Status" ?g))
+
#+END_SRC
*** Tree-Sitter