diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-07-10 10:04:54 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-07-10 10:04:54 +0200 |
| commit | 84602302fc0480b7b0b01b4e68eea53e809ab6ba (patch) | |
| tree | 7d7c7b902ac50ebb5ffae209ce57ee145d2b028a /config/emacs/init.el | |
| parent | d0ccc788ba88141e082d899b440485febe280bfb (diff) | |
Add Magit To Project Switch Commands
It also works with delayed loading and `use-package` :tada:
Diffstat (limited to 'config/emacs/init.el')
| -rw-r--r-- | config/emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
