Thanks Allan. I was aware of the “sticky” feature. It’s more that I need all files I open to stay around since it’s how I’ve always kept track of which files I’ve edited during development that I’ll need to move to production when the feature/bug is done. Even if I sticky some, other may be closed when it overflows.

Then it’s really easy to Shift-Ctrl-O to open the terminal at the path of the file to ssh copy the file to the production servers.

I’ll look into seeing if ⌘T will suffice but a default to turn it off would be great.

Ed


From: Allan Odgaard mailinglist@textmate.org
Reply: TextMate users textmate@lists.macromates.com
Date: May 26, 2014 at 2:45:22 AM
To: TextMate users textmate@lists.macromates.com
Subject:  [TxMt] Re: Textmate 2: Disable auto closing of tabs

On 24 May 2014, at 1:07, Ed Wong wrote:

> According to the manual […] TextMate will automatically close tabs
> that hasn’t been used in a while […]
>
> Is there any way of disabling this behaviour via a .tm_properties or
> defaults command? 

You can disable it for specific tabs by right-clicking and selecting
“sticky”. It only closes tabs when the tab bar overflows, so it
doesn’t seem that useful to have TextMate build up an overflow menu of
dozens of (non-visible) files, as you can already see a list of what you
recently worked with via Go to File… (⌘T).


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate