help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there a way to switch among splitted windows counter-clockwisely


From: Rebecca Breu
Subject: Re: Is there a way to switch among splitted windows counter-clockwisely in Emacs?
Date: Tue, 18 Mar 2008 02:25:48 -0700 (PDT)


meili100 wrote:
> 
> Suppose you have 5 splitted windows and you are in window 2. You want to
> switch to window 1.
> I know a way to switch to the next window is Ctrl-x o, but you have to
> switch 4 times to window 1. Is there a way to switch counter-clockwisely?
> 

The function bound to C-x o, other-window, takes an optional prefix
argument. Invoking it with prefix argument -1 would do what you like:
C-u -1 C-x o. Since this is quite awful to type, you could define a new
keybinding, say:

(global-set-key "\C-xp" '(lambda ()
                           (interactive)
                           (other-window -1)))


Yours,
Rebecca
-- 
View this message in context: 
http://www.nabble.com/Is-there-a-way-to-switch-among-splitted-windows-counter-clockwisely-in-Emacs--tp16012431p16117089.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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