[TxMt] Emacs-like Toggle-behavior for cmd-T, Keyboard-driven tab reordering

Tom Lazar tom at tomster.org
Tue Aug 9 23:06:42 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[x] me, too!

great idea Jonathan!

tom

On Aug 10, 2005, at 1:00 AM, Jonathan Ragan-Kelley wrote:

> I appreciate cmd-T as a more flexible replacement for old-school
> keyboard buffer switchers like the traditional Emacs c-x b action.
> However, one of the most critical uses of c-x b, in my experience, is
> the ability to instantly toggle between the last 2 buffers in the
> current window/pane, which cmd-T (and the stationary ordering of the
> tabs, as compared to something like the stack ordering of the File
> History dropdown in XCode editor panes) cannot accomplish.
>
> I understand that certain special cases of toggling, like switching
> between matching, identically-named header and implementation files
> can be accomplished with special commands and that toggling can be
> achieved by manually reordering tabs in such a way that the desired 2
> files are adjacent in the tab list, but this misses the deeper point
> that toggling between the last 2 files -- no matter how they were
> reached, what their file name relationship is, or where they fall in
> the tab list -- is one of the most central and frequently performed
> actions at least in my programming experience.  (And it is, of course,
> all the more critical without split pane support ;).
>
> It seems to me, however, that this can be addressed quite simply and
> elegantly in the context of the current cmd-T system.  All that would
> have to happen is that the first item in the list would always default
> to the last active tab when the window is first opened.  Given that
> the list ordering is dynamic and adaptive, á la Quicksilver, it hardly
> seems that this very subtle reordering would present any sort of
> usability issue or confusion.  Of course, how this most-recently-used
> item might be prioritized in the list after the user starts typing, if
> at all, is an open question, but one which need not even be answered a
> first version (the behavior can perfectly reasonably be just as it is
> now after the first search letter is typed).
>
> The general issue of fast toggling and navigation between files also
> brings up a small related thing I've been wanting to see for some
> time:
>
> I would love to have the ability to re-order tabs using the keyboard,
> alone -- just something akin to select next/previous tab, but which
> moved the current tab right/left.
>
> That's it for now.  Back to the code.
> -jrk
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>

- --
Tom Lazar
http://tomster.org



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iQIVAwUBQvk3A9eSJSslDUEWAQLmXA//RtQgGxNe01t7LxeX5DJ6/3E5rFHrjbWy
ArseUmbHSqC5NAVAOMaWlSt+dCTkAEK+wKZw0gHTOLd5pnTryOZ3J2V7VIZ6Yl4v
eSf8f6gqJHm2POt2ssQlYqOVYEvGROzl2agXq6WyKQYwZibLwGTMeNw9q+IXNPKQ
E4NUAXy0G8n2+eanY6SATQbDYOk8+1pwohpZqH7AQ1AvYmxwR3WDk4nA4R6Xe3sJ
yfT8Hhnh5KsxTmgSaaXJftkwnoKzfzwt9FQUSUWXpdxQsGKTOEivjs7guN9dIRX+
y/S6XPy4mOw14nNx1veTM/+1KoObp6G2/sRDSy/FjgMo3uv73eH2gxHuuJPsVtcn
xwH5RSLcRTCIqGtReN37g/Pqap2dUGifBTmYRtuzuhmhzdiN6NQmqjEjxDOf78MH
Y4UFbswX9eaOfWetw0J+OgpSdNo1VLjBs6oDQJh6XnlFhgzR6pDrQsnemwzXSVfG
7Oje+HuMqz4i9jvPMP3jPBgu1+iDLCrpTDnqPykiyYtgBggOwe0asHA98NJ2E5+2
7GIN05OjFn2BZxvGQvqgbbujbRK7P1tAuEw4Nsotu3ks7cmIY+BPgxTD4IDFSFa/
7JZYZQwesSaIZ2yWj97l8sTbAtKRX1t0C6n4jHrN/MhVZmbuFIyOBbr8HSnE6wp4
OjH9erIJ1is=
=SfyL
-----END PGP SIGNATURE-----



More information about the textmate mailing list