[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Concern about new binding.
From: |
Teemu Likonen |
Subject: |
Re: Concern about new binding. |
Date: |
Sat, 06 Feb 2021 11:59:53 +0200 |
User-agent: |
Notmuch/0.31.1+1~gc5504cb (https://notmuchmail.org) Emacs/27.1.91 (x86_64-pc-linux-gnu) |
* 2021-02-06 09:40:03+0000, Gregory Heytings wrote:
>> It would have been nicer if Magit documentation would have only
>> suggested user to bind "C-c g" (not "C-x g") key for "magit-status".
> The Magit documentation does suggest to use "C-c g", but for
> "magit-file-dispatch", instead of "C-c M-g".
Yes, but I meant to say that key bindings are not only suggestions in
the documentation: the "C-x g" key is automatically bound to
magit-status command. It would be nicer if Magit didn't automatically
bind anything to "reserved" keymaps.
Technically global minor mode global-magit-file-mode is on by default
and it enables minor mode magit-file-mode in every Git buffer. That
minor mode binds "C-x g" and couple of others automatically.
So, user has to manually disable that, either by disabling
global-magit-file-mode (with customize, for example) or by redefining
magit-file-mode-map:
(defvar magit-file-mode-map)
(setq magit-file-mode-map (make-sparse-keymap))
--
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
signature.asc
Description: PGP signature
- Re: Concern about new binding., (continued)
- Re: Concern about new binding., Sean Whitton, 2021/02/04
- 28.0.50; Move revert-buffer global binding into a prefix map, Sean Whitton, 2021/02/04
- RE: [External] : 28.0.50; Move revert-buffer global binding into a prefix map, Drew Adams, 2021/02/04
- Re: bug#46300: 28.0.50; Move revert-buffer global binding into a prefix map, Lars Ingebrigtsen, 2021/02/07
- RE: [External] : Re: bug#46300: 28.0.50; Move revert-buffer global binding into a prefix map, Drew Adams, 2021/02/07
- Re: Concern about new binding., Ergus, 2021/02/05
- Re: Concern about new binding., Teemu Likonen, 2021/02/06
- Re: Concern about new binding., Gregory Heytings, 2021/02/06
- Re: Concern about new binding.,
Teemu Likonen <=
- RE: [External] : Re: Concern about new binding., Drew Adams, 2021/02/04
- Re: [External] : Re: Concern about new binding., Richard Stallman, 2021/02/05
- Re: [External] : Re: Concern about new binding., Eli Zaretskii, 2021/02/05
- Re: [External] : Re: Concern about new binding., Thibaut Verron, 2021/02/05
- Re: [External] : Re: Concern about new binding., Eli Zaretskii, 2021/02/05
- Re: [External] : Re: Concern about new binding., Thibaut Verron, 2021/02/05
- Re: [External] : Re: Concern about new binding., Dmitry Gutov, 2021/02/05
- RE: [External] : Re: Concern about new binding., Drew Adams, 2021/02/05
- RE: [External] : Re: Concern about new binding., Drew Adams, 2021/02/05
- Re: [External] : Re: Concern about new binding., Eli Zaretskii, 2021/02/05