According to the manual Textmate closes obsolete tabs when the tab bar gets filled up:
2.3.2 Closing Tabs A common problem is being left with too many open tabs. In an attempt to counter that, TextMate will automatically close tabs that hasn’t been used in a while, when the tab bar overflows.
Additionally there are a few explicit ways that you can close multiple tabs in a single action:
Hold down option (⌥) when opening a file either via the file browser or file chooser. For the latter, you normally open files via return (↩) so here you would press option-return (⌥↩). Use File → Close Other Tabs (⌃⌘W) or File → Close All Tabs (⌃⌥⌘W). Right-click a tab and select any of the close actions, e.g. Close Tabs to the Right. Sometimes you have documents that should stay open, like a to-do list, which may prevent the use of a batch close action. In this case, right-click the tab in question and select Sticky (toggle). When a tab is made sticky, the batch close actions will leave it open.
The problem is that tabs are allowed shrunk to about 4 characters + ellipsis before tab removal starts to kick in. Maybe it should start to remove tabs a bit earlier than that?
Personally I often set the tabs I really want to keep as ‘Sticky’ (right click on the tab) and use the ‘Close Other Tabs’ a lot, in conjunction with the ‘Go to File’ menu (⌘T).
Regards, Bas
On 8 May 2014, at 20:54 , Tobias Jung newsgr@tobiasjung.net wrote:
Adam Štěpánek wrote (Thu, 8 May 2014 19:59:36 +0200):
If you're working on a large project where you actually edit only several files at the time but you need to peek into other files from time to time as well (usually as a one-time look), the tab bar gets full very quickly and it's almost impossible to find there the file you're looking for.
Well, for a peek you always can right-click the file and select "Quick Look..." from the contextual menu. Not the same thing, but maybe sufficient...
Kind regards, Tobias Jung
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate