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

Allan Odgaard allan at macromates.com
Wed Aug 10 00:05:44 UTC 2005


On 10/08/2005, at 1.00, Jonathan Ragan-Kelley wrote:

> [...] but this misses the deeper point that toggling between the  
> last 2 files

If I'm in file A I use cmd-T to open file B, when done, I press cmd- 
W, and I'm back to A, if I need B again, I do cmd-T and return (which  
is already on B). If I need to go back and forth a lot, I use the  
option-cmd left/right of course.

> 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.

I've changed it so that w/o a filtering string, it sorts items based  
on last time used.

I don't clear the filter string when pressing cmd-T -- but with your  
usage, you'd probably just have it cleared most of the time anyway.

> [...] I've been wanting to see for some time [...] ability to re- 
> order tabs using the keyboard

And it has been on the to-do for some time -- but all this project  
stuff is really scheduled for 1.2.





More information about the textmate mailing list