From cdbd66e1a9e847fb7a28555a8f60eed134a222bd Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 18 Oct 2025 09:32:05 +0200 Subject: Stop magit-extras from binding 'C-x p m' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .config/emacs/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/emacs/init.el') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index af17995..8eaf534 100644 --- 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) -- cgit v1.2.3