commit cdbd66e1a9e847fb7a28555a8f60eed134a222bd
parent 1cdc9b821f45b9040740c82b0906acedb07592e3
Author: Kรฉvin Le Gouguec <kevin.legouguec@gmail.com>
Date: Sat, 18 Oct 2025 09:32:05 +0200
Stop magit-extras from binding 'C-x p m'
I do want a binding for "magit-status in another project", but
* magit-project-status fails to prompt in my adversarial setup where
$HOME is a "project", i.e. has a .git directory, so I prefer
my/magit-project which always prompts.
* Magit is thirdparty, so core Emacs could rebind 'C-x p m' Any Second
Nowโข; I have my/magit-map on 'C-c g' and my/magit-project on 'C-c g p',
so 'C-x p m' is a liability.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
@@ -906,6 +906,8 @@ UPSTREAMS is a list of fetch URLs."
(search-default-mode 'char-fold-to-regexp))
(use-package magit
+ :init
+ (setq magit-bind-magit-project-status nil)
:custom
(magit-define-global-key-bindings nil)
(magit-diff-refine-hunk t)