unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Arthur Miller <arthur.miller@live.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Universal/prefix argument for "other window" redirection?
Date: Fri, 9 Apr 2021 00:01:08 +0700	[thread overview]
Message-ID: <CAP_d_8UEH+k+RimSzTXCqXu0DwqrupRZ2sX59H67ULUNhu9q7Q@mail.gmail.com> (raw)
In-Reply-To: <AM9PR09MB497756A9CE1003477E0632F296749@AM9PR09MB4977.eurprd09.prod.outlook.com>

On Thu, 8 Apr 2021 at 23:12, Arthur Miller <arthur.miller@live.com> wrote:

> I don't know myself what I really want. I find myself switching a lot
> between two windows, which sometimes feels redundant. Maybe it is just
> the shortcut, C-x o, or in my case C-v o. After playing with Gregory's
> example, I am thinking of just binding the other-window to the `§` key.
> Maybe that itself will be enough for somewhat "smoother" experience.

Maybe what you want is a foot pedal that emits a ‘C-x o’ when pressed,
and another ‘C-x o’ when released. Something like vim-pedal[1] but for
Emacs.

[1]: https://github.com/foxweb/vim-pedal

Or an eye-tracking camera that focuses whichever window you are looking at.

(Me, I’m content with binding my local equivalent[^2] of s-[esdf] to
windmove-{up,left,down,right}-cycle.)

[^2]: It’s actually M-s-[frst] due to using the Colemak layout and
having two thumb modifier keys, one mapped to Super and the other to
Super+Alt. Super+[frst] switches i3 tiled windows and Super+Alt+[frst]
switches panes in whatever application is in focus — Emacs, Kitty
terminal, tmux if running in a single-paned Kitty tab.



  reply	other threads:[~2021-04-08 17:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08  9:37 Universal/prefix argument for "other window" redirection? Arthur Miller
2021-04-08 12:16 ` Gregory Heytings
2021-04-08 15:58   ` Arthur Miller
2021-04-08 14:56 ` Stefan Monnier
2021-04-08 16:11   ` Arthur Miller
2021-04-08 17:01     ` Yuri Khan [this message]
2021-04-08 17:42       ` Arthur Miller
2021-04-08 17:57         ` Stefan Monnier
2021-04-08 18:26           ` Arthur Miller
2021-04-09  4:18     ` Eric Abrahamsen
2021-04-09  7:58       ` Arthur Miller
2021-04-08 22:59   ` Arthur Miller
2021-04-08 23:03     ` Stefan Monnier
2021-04-08 19:04 ` Sean Whitton
2021-04-08 21:14   ` Arthur Miller

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP_d_8UEH+k+RimSzTXCqXu0DwqrupRZ2sX59H67ULUNhu9q7Q@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=arthur.miller@live.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).