<div class="markdown">
<p dir="auto">On 10 May 2014, at 23:09, Matt Neuburg wrote:</p>

<blockquote>
<p dir="auto">[…] When I open my project, the same two tabs are always open. Why?</p>
</blockquote>

<p dir="auto">From release notes:</p>

<ul>
<li><p dir="auto">TextMate will now remember open tabs for “project folders”. This means that if you run <code>mate «folder»</code>, open a few tabs and close the window, then if you later open the same folder, TextMate will restore the open tabs (and file browser state).</p>

<p dir="auto">You can see which folders TextMate has stored state for via <em>File → Open Favorites…</em> (⇧⌘O) — probably soon to be renamed “Open Project…”.</p>

<p dir="auto">The feature can be disabled using:</p>

<pre><code>defaults write com.macromates.TextMate.preview disableFolderStateRestore -bool YES
</code></pre></li>
</ul>

<p dir="auto">The state is stored in <code>~/Library/Application Support/TextMate/RecentProjects.db</code> so you can delete this file to clear all state. You can also bring up the <em>File → Open Favorites…</em> dialog and press ⌘⌫ for each entry where you wish to clear the saved state (and remove that folder from the history).</p>

</div>