Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a plugin or bundle which enables TextMate to bind it's state to the current branch. By state I mean open tabs and open folders in the project drawer.

Here is my scenario:

  1. working on branch new-cool-feature, with open tabs file1.rb, file2.rb and folder app/model/a/b/ open in project drawer
  2. checkout production branch
  3. create new branch urgent-bug-fix
  4. at this point, all tabs and open folders should be closed in TextMate, so I can start fresh
  5. when I finish my work in urgent-bug-fix and checkout new-cool-feature, TextMate should re-open tabs file1.rb and file2.rb and should reopen folder app/model/a/b in the project drawer

Edit: changed the question to better express what I'm looking for

share|improve this question
Don't you use Cmd+T nagivation? I mean, why all the complexity when you can just navigate to a file in a couple of keystrokes, no matter whether it was already open or not. –  Sergio Tulentsev Mar 21 '13 at 18:53
Yes I use it. But I don't like to have a lot of distracting open tabs. –  JoaoHornburg Mar 22 '13 at 13:28
add comment

migrated from stackoverflow.com Mar 22 '13 at 9:31

This question came from our site for professional and enthusiast programmers.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.