[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 09:28:26 +0200 |
User-agent: |
Notmuch/0.31.1+1~gc5504cb (https://notmuchmail.org) Emacs/27.1.91 (x86_64-pc-linux-gnu) |
* 2021-02-04 17:46:19+0100, Lars Ingebrigtsen wrote:
> Gregory Heytings <gregory@heytings.org> writes:
>> C-x g c = clone-buffer
>> C-x g d = diff-buffers
>> C-x g f = fit-frame-to-buffer
>> C-x g h = hexl-mode
>> C-x g i = insert-buffer
>> C-x g l = font-lock-mode
>> C-x g n = rename-buffer
>> C-x g r = revert-buffer
>> C-x g R = revert-buffer-with-fine-grain
>> C-x g t = toggle-truncate-lines
>
> Of the alternative key bindings proposed, I like this the best. I'd
> prefer `C-x g g' for revert-buffer, though -- it's more in like with
> the `g' binding in `special-mode-map', and `revert-buffer' is a
> command you're likely to want to execute a number of times (in some
> cases), while the rest of these are less keyboard-mashey.
I like the idea of buffer key bindings behind some new "C-x
<new_letter>" map. This inspired me to add some of those to my systems
(also a binding for "hl-line-mode") and I think they are useful for many
people. My current list would be:
C-x g c = clone-buffer
C-x g d = diff-buffers
C-x g h = hl-line-mode
C-x g i = insert-buffer
C-x g n = rename-buffer
C-x g r = revert-buffer
C-x g t = toggle-truncate-lines
(My system doesn't seem to have "revert-buffer-with-fine-grain".)
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".
--
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
- RE: [External] : Re: Concern about new binding., (continued)
- Re: Concern about new binding., Lars Ingebrigtsen, 2021/02/05
- Re: Concern about new binding., jao, 2021/02/05
- 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 <=
- Re: Concern about new binding., Gregory Heytings, 2021/02/06
- Re: Concern about new binding., Teemu Likonen, 2021/02/06
- 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