From 84602302fc0480b7b0b01b4e68eea53e809ab6ba Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Thu, 10 Jul 2025 10:04:54 +0200 Subject: Add Magit To Project Switch Commands It also works with delayed loading and `use-package` :tada: --- config/emacs/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/emacs/init.el b/config/emacs/init.el index 57c6dd0..f9c3328 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -134,6 +134,12 @@ (when (executable-find "rg") (setq xref-search-program 'ripgrep))) +(when (init/dev) + (use-package project + :config + (add-to-list 'project-switch-commands + '(magit-project-status "Magit" "m") t))) + ;;; -- Packages -- ;; Enable MELPA, but make it a lower priority to GNU and non-GNU ELPA -- cgit v1.2.3