unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: [GNU ELPA] I'd like to add switchy.el: a last-recently-used window switcher
Date: Sun, 09 Apr 2023 09:36:27 +0200	[thread overview]
Message-ID: <87cz4dpk0n.fsf@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

Hi all,

I've written a small utility called switchy.el which I'd like to add to
GNU ELPA.  I can do that on my own but wanted to give you a chance for
commenting first.  I'm attaching the file below.

In essence, the single command provided is `switchy-window' which is
similar to `other-window' except that it switches to other windows in
last-recently-used order instead of top-to-bottom-left-to-right order.
With quick consecutive invocations you can reach any window but if you
have a small delay between invocations (controlled by the single
defcustom `switchy-delay'), you toggle between the two last recently
used windows.

Bye,
Tassilo


[-- Attachment #2: switchy.el --]
[-- Type: application/emacs-lisp, Size: 8075 bytes --]

             reply	other threads:[~2023-04-09  7:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-09  7:36 Tassilo Horn [this message]
2023-04-09  8:08 ` [GNU ELPA] I'd like to add switchy.el: a last-recently-used window switcher Eli Zaretskii
2023-04-09  8:56 ` Philip Kaludercic
2023-04-09  9:33   ` Tassilo Horn
2023-04-09 10:30     ` Philip Kaludercic
2023-04-09 11:14     ` Tassilo Horn

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=87cz4dpk0n.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@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 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).