From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Is there a way to switch among splitted windows counter-clockwisely in Emacs?
Date: Tue, 18 Mar 2008 20:32:04 -0600 [thread overview]
Message-ID: <frptun$d0$1@ger.gmane.org> (raw)
In-Reply-To: <16117089.post@talk.nabble.com>
Rebecca Breu wrote:
> 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)))
`M-- C-x o' is a little easier to type.
--
Kevin Rodgers
Denver, Colorado, USA
next prev parent reply other threads:[~2008-03-19 2:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <16012431.post@talk.nabble.com>
2008-03-18 9:25 ` Is there a way to switch among splitted windows counter-clockwisely in Emacs? Rebecca Breu
2008-03-19 2:32 ` Kevin Rodgers [this message]
[not found] ` <mailman.9088.1205846683.18990.help-gnu-emacs@gnu.org>
2008-03-18 17:39 ` B. T. Raven
2008-03-18 17:43 ` B. T. Raven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='frptun$d0$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.