[TxMt] Re: Closing the last tab

Artie Ziff artie.ziff at gmail.com
Fri May 4 23:39:44 UTC 2012

On 2/29/12 5:13 AM, Rob McBroom wrote:
> On Feb 28, 2012, at 4:38 PM, Curt Sellmer wrote:
>> It would also be nice if there were a setting where when you close the last tab in a window, instead of the entire window closing, a new untitled document was used as a placeholder instead, just as when a folder is originally opened.
> +1
> In the meantime, you can use the File → Open Recent menu item to semi-quickly reopen the thing. (Or right-arrow into TextMate using Quicksilver.)
Thank you, Rob for pointing out this quick recovery.

FWICT, when TM2 is launched from the command line on a directory, the 
window we are looking at is an untitled document window as opposed to an 
empty file browser window. That's the crux of the issue, right? If you 
close the last document window then the file browser goes with it, 
because the file browser is an accessory to the document window as 
opposed to being a standalone file browser.

This is a usability issue as I may never be able to prevent myself from 
closing a document window. Even when clicking on the close icon in the 
browser's file list, the browser is closed with it. I wonder how the TM2 
Jedi Council will decide what will be the final behavior? Perhaps the 
most logical thing for TM2 to do is to open an Untitled document window 
if the file browser is in use and the last document window is closed.


More information about the textmate mailing list