[Top][All Lists]

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

Re: POLL: make C-x o transient

From: Philip K.
Subject: Re: POLL: make C-x o transient
Date: Mon, 25 Jan 2021 17:38:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

aitor <a.soroa@gmail.com> writes:

> On Mon, Jan 25, 2021 at 09:39:00AM -0500, Stefan Monnier wrote:
>> > Which will make `C-x o` invoke a transient version of `other-window'
>> > like `text-scale-adjust’ does.
>> I think the pattern is clear: `C-x <letter>` are good candidates ;-)
> Sorry to chime in with an off-topic issue, but I once wrote the following in 
> my
> init.el file:
> ;; move thorugh windows
> (global-set-key (kbd "C-x <left>")  'windmove-left)
> (global-set-key (kbd "C-x <right>") 'windmove-right)
> (global-set-key (kbd "C-x <up>")    'windmove-up)
> (global-set-key (kbd "C-x <down>")  'windmove-down)

If you don't use the arrow keys for regular navigation, you could just
as well bind the windmove commands directly to up/down/left/right.

> and never have looked back since. This is very useful for me, particularly 
> when
> dealing with many windows (gdb-many-windows, etc).
> best,
>                         aitor

        Philip K.

reply via email to

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