diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-10-18 09:32:05 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-10-20 20:19:22 +0200 |
| commit | cdbd66e1a9e847fb7a28555a8f60eed134a222bd (patch) | |
| tree | 16c206393f887e8e996dd86d0b2f24ac6d8f1346 /.config/emacs/init.el | |
| parent | 1cdc9b821f45b9040740c82b0906acedb07592e3 (diff) | |
| download | dotfiles-cdbd66e1a9e847fb7a28555a8f60eed134a222bd.tar.xz | |
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 (limited to '.config/emacs/init.el')
| -rw-r--r-- | .config/emacs/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
