[TxMt] Re: Switching Git Branches and TextMate

Scott Smith scottnelsonsmith at gmail.com
Tue Jan 26 03:16:05 UTC 2010

We use git for our repository, and I find that TextMate does a pretty good
job of switching between branches as-is.  Actually, git is doing all the
work, and TextMate is simply responding to (mostly) the disappearance and
modifications of files.

So, I know that you are asking for more below, but I thought it might be
useful to identify what's already out there, at least for git.

On Mon, Jan 25, 2010 at 3:55 PM, Luis Gomez <lgomez at gmail.com> wrote:

> I doubt this can be done with the current version of TextMate but I want to
> put it out there and see what people suggest.
> When working on git repositories, I find myself jumping from branch to
> branch often. We use branches heavily in my company for everything from
> little on-demand bug fixes to entirely new features. Most times switching
> branches means closing all tabs and opening tabs relevant to the selected
> branch. It also often involves expanding a number of folders in the drawer
> but this happens less often as I am a keyboard freak and rarely use the
> drawer.
> It would be awesome if switching branches could trigger TM to close the
> current tabs and open the ones being worked on the last time this branch was
> selected. Even better if cursors were moved to the right positions too.
> Now, I realize this is too specific for TM to have natively but it would be
> nice nonetheless. I wonder if a plugin could do this? Maybe by using git
> branch identifiers as keys to layout specifications that can be saved
> elsewhere as plugin data.
> Does this sound doable? Can anyone point me in the right direction to
> documentation that I can use to maybe give this a shot? I'm happy to work on
> a plugin if people are interested in something like this.
> Cheers.
> Luis
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

Scott Smith

With privilege comes responsibility,
with responsibility comes accountability,
with accountability comes honesty,
with honesty comes faithfulness.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20100125/f5335b67/attachment.html>

More information about the textmate mailing list