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

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

Re: cycling through windows


From: C K Kashyap
Subject: Re: cycling through windows
Date: Sun, 14 Jul 2013 12:05:38 +0530

Thank you all so much.

I think the "keep-othering" suggested by Jambunathan works just fine for me.

Regards,
Kashyap


On Fri, Jul 12, 2013 at 9:47 PM, Teemu Likonen <tlikonen@iki.fi> wrote:

> C. K. Kashyap [2013-07-12 10:12:02 +05:30] wrote:
>
> > What is a good way to cycle through windows - looks like C-x o cycles
> > through in one order and if I need to change the direction I need to
> > C-u - C-x o But it seems too many keystrokes - is there a better way
> > (other than doing my own key bindings that is)
>
> I use "repeat command" idea which I got from Drew Adams. With that I can
> cycle with "C-x o o o o o o". That is, just repeating the last component
> ("o").
>
>
>     (defun tl-repeat-command (command)
>       ;; From Drew Adams.
>       (require 'repeat)
>       (let ((repeat-message-function 'ignore))
>         (setq last-repeatable-command command)
>         (repeat nil)))
>
>     (defun tl-other-window (count)
>       (interactive "p")
>       (tl-repeat-command 'other-window))
>


reply via email to

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