emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: Proposal: new default bindings for winner and windm


From: Drew Adams
Subject: RE: [External] : Re: Proposal: new default bindings for winner and windmove
Date: Mon, 24 Jun 2024 04:23:52 +0000

> I didn't manage to read the entire thread, but isn't the main issue with
> C-x 4 <arrow key> that it is a relatively long key chord with a certain
> travel distance on the keyboard for a quick operation?  If it is easier
> to press C-x o a few times (which `repeat-mode' makes even easier), then
> there is little point in adding a default binding, I feel.

I assumed the proposal was for _repeating_
keys after a prefix key: C-x 4 <down> <down>...
or even a mixture of arrow directions:
C-x 4 <down> <right> <up>, <up>...

I do this all the time - use a prefix key
followed by other keys for repeated actions,
incremental changes such as resizing a window
or frame, moving a frame around, or changing
color attributes.

E.g., a prefix key (such as `C-x 4') can be
followed by any sequence of <up>, <down>,
<left>, <right> keys, i.e., any number of
repetitions, in any order.  You move around
with all 4 arrow keys after just one hit of
the prefix key.  (You can also do so with
the mouse wheel.)

You can make repeated incremental changes to
anything.  For (in|de)crementing color
attributes I use prefix key `C-x t c', then
an increment/decrement amount, then a color
attribute key (r, g, b, h, s, v), then
up/down arrow keys or mouse wheel.  You can
change to another attribute at any time:
`C-x t c h 1 up up up v down down r up...'
         ^            ^           ^

You could use a transient map to implement
such behavior, but I didn't bother with that
(done long before that existed).
___

I've done this with DoReMi since 2004.

https://www.emacswiki.org/emacs/DoReMi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]