all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
To: keith@cheungsfamily.org, help-gnu-emacs@gnu.org
Cc: tkk@misasa.okayama-u.ac.jp
Subject: Re: Can I use 'C-x o o o o o' instead of C-x o C-x o C-x o C-x o C-x o?
Date: Tue, 28 Apr 2015 23:23:55 +0900 (JST)	[thread overview]
Message-ID: <20150428.232355.242931826.tkk@misasa.okayama-u.ac.jp> (raw)
In-Reply-To: <CAP5w8KzoWu_Gmp4y0QwT-mK0ySo_h=Yujh4LNPd+1O019ay-cg@mail.gmail.com>

Use smartrep.  I use it 1,000 times a day.

  https://github.com/myuhe/smartrep.el

Side effect is you cannot insert `o' soon after (other-window).
Because of this side effect, this is not adequate for default
behavior.

(require 'smartrep)
(smartrep-define-key global-map "C-x"
  '(("o"   . 'other-window)
    ("O"   . 'other-frame)
    ("^"   . 'enlarge-window)
    ("_"   . 'shrink-window)
    ("{"   . 'shrink-window-horizontally)
    ("}"   . 'enlarge-window-horizontally)))


> - I split many windows.
> - I wish to switch to some other windows.
> - I type C-x o, C-x o, C-x o repeatedly until the cursor landed on the
> desired window.
> Is there a way to use C-x o o o instead?



  parent reply	other threads:[~2015-04-28 14:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 10:56 Can I use 'C-x o o o o o' instead of C-x o C-x o C-x o C-x o C-x o? 張國良
2015-04-28 13:47 ` Tassilo Horn
2015-04-28 13:49 ` Yuri D'Elia
2015-04-28 13:50 ` Jorge A. Alfaro-Murillo
2015-04-28 14:22   ` Jorge A. Alfaro-Murillo
2015-04-28 14:07 ` Drew Adams
2015-04-28 14:07 ` Phillip Lord
2015-04-28 14:23 ` Tak Kunihiro [this message]
2015-04-28 19:04 ` Robert Thorpe
2015-04-30  9:56 ` 張國良
     [not found] ` <mailman.1786.1430228989.904.help-gnu-emacs@gnu.org>
2015-04-30 17:29   ` unfrostedpoptart
     [not found] <mailman.1779.1430218587.904.help-gnu-emacs@gnu.org>
2015-04-28 17:03 ` Emanuel Berg
2015-04-28 17:48   ` Jorge A. Alfaro-Murillo
2015-04-28 18:19 ` Joe Fineman

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=20150428.232355.242931826.tkk@misasa.okayama-u.ac.jp \
    --to=tkk@misasa.okayama-u.ac.jp \
    --cc=help-gnu-emacs@gnu.org \
    --cc=keith@cheungsfamily.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.