<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">According to the manual Textmate closes obsolete tabs when the tab bar gets filled up:<div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><span style="background-color: rgb(255, 255, 255); font-family: 'Helvetica Neue', Helvetica, sans-serif;">2.3.2 Closing Tabs</span></div></div><div><div><p style="-webkit-margin-before-collapse: collapse; -webkit-margin-after-collapse: collapse; margin-top: 15px; margin-bottom: 15px; font-family: 'Lucida Grande', 'Lucida Sans', Helvetica, sans-serif; background-color: rgb(255, 255, 255);">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.</p></div></div><div><p style="-webkit-margin-before-collapse: collapse; -webkit-margin-after-collapse: collapse; margin-top: 15px; margin-bottom: 15px; font-family: 'Lucida Grande', 'Lucida Sans', Helvetica, sans-serif; background-color: rgb(255, 255, 255);">Additionally there are a few explicit ways that you can close multiple tabs in a single action:</p></div></blockquote><div><ul style="font-family: 'Lucida Grande', 'Lucida Sans', Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><ul><li>Hold down option (<kbd class="keyEquivalent" style="background-color: rgb(221, 221, 221); background-image: linear-gradient(rgb(241, 241, 241), rgb(221, 221, 221)); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221) rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); padding: 1px 4px; line-height: 10px; font-family: 'Lucida Grande'; background-repeat: repeat no-repeat;">⌥</kbd>) when opening a file either via the <a href="http://manual.textmate.org/projects.html#file-browser" style="color: rgb(104, 0, 148); text-decoration: none;">file browser</a> or <a href="http://manual.textmate.org/opening-files.html#file-chooser" style="color: rgb(104, 0, 148); text-decoration: none;">file chooser</a>. For the latter, you normally open files via return (<kbd class="keyEquivalent" style="background-color: rgb(221, 221, 221); background-image: linear-gradient(rgb(241, 241, 241), rgb(221, 221, 221)); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221) rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); padding: 1px 4px; line-height: 10px; font-family: 'Lucida Grande'; background-repeat: repeat no-repeat;">↩</kbd>) so here you would press option-return (<kbd class="keyEquivalent" style="background-color: rgb(221, 221, 221); background-image: linear-gradient(rgb(241, 241, 241), rgb(221, 221, 221)); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221) rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); padding: 1px 4px; line-height: 10px; font-family: 'Lucida Grande'; background-repeat: repeat no-repeat;">⌥↩</kbd>).</li><li>Use <em>File → Close Other Tabs</em> (<kbd class="keyEquivalent" style="background-color: rgb(221, 221, 221); background-image: linear-gradient(rgb(241, 241, 241), rgb(221, 221, 221)); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221) rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); padding: 1px 4px; line-height: 10px; font-family: 'Lucida Grande'; background-repeat: repeat no-repeat;">⌃⌘W</kbd>) or <em>File → Close All Tabs</em> (<kbd class="keyEquivalent" style="background-color: rgb(221, 221, 221); background-image: linear-gradient(rgb(241, 241, 241), rgb(221, 221, 221)); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221) rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); padding: 1px 4px; line-height: 10px; font-family: 'Lucida Grande'; background-repeat: repeat no-repeat;">⌃⌥⌘W</kbd>).</li><li>Right-click a tab and select any of the close actions, e.g. <em>Close Tabs to the Right</em>.</li></ul></ul></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><p style="-webkit-margin-before-collapse: collapse; -webkit-margin-after-collapse: collapse; margin-top: 15px; margin-bottom: 15px; font-family: 'Lucida Grande', 'Lucida Sans', Helvetica, sans-serif; background-color: rgb(255, 255, 255); position: static; z-index: auto;">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 <em>Sticky</em> (toggle). When a tab is made sticky, the batch close actions will leave it open.</p></div></blockquote><div><div>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?</div><div><br></div><div>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).</div><div><br></div><div>Regards,</div><div>Bas</div><div><br></div><div><br></div><div><div>On 8 May 2014, at 20:54 , Tobias Jung <<a href="mailto:newsgr@tobiasjung.net">newsgr@tobiasjung.net</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Adam Štěpánek wrote (Thu, 8 May 2014 19:59:36 +0200):<br><br><blockquote type="cite">If you're working on a large project where you actually edit only<br>several files at the time but you need to peek into other files from<br>time to time as well (usually as a one-time look), the tab bar gets full<br>very quickly and it's almost impossible to find there the file you're<br>looking for.<br></blockquote><br>Well, for a peek you always can right-click the file and select "Quick Look..." from the contextual menu.<br>Not the same thing, but maybe sufficient...<br><br>Kind regards,<br>Tobias Jung<br><br><br><br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate<br></blockquote></div><br></div></body></html>