|
From: | B. T. Raven |
Subject: | Re: Is there a way to switch among splitted windows counter-clockwisely in Emacs? |
Date: | Tue, 18 Mar 2008 11:39:16 -0600 |
User-agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
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))) Yours, Rebecca
From menu: Options > Customize Emacs > Specific Option Iswitchb Mode Turn it on Save for Current and Future Sessions This will put something like: '(iswitchb-mode t nil (iswitchb)) into the custom-set-variables section of your .emacsThen, so you don't have to restart Emacs just place cursor after this expression in .emacs and press C-x C-e to evaluate it. Or maybe that is already accomplished by the Save for Current Session option in Customize; I never checked.
Works for me. Ed
[Prev in Thread] | Current Thread | [Next in Thread] |