tmux-plugins / tmux-open

Tmux key bindings for quick opening of a highlighted file or url
MIT License
631 stars 63 forks source link

Add the git checkout feature #7

Closed lfv89 closed 9 years ago

lfv89 commented 9 years ago

Another feature that I've been playing with is the git checkout. On the terminal when I type "git tree" I see this:

So, I thought that it might be cool to make the plugin be capable of do a git checkout based on a sha, branch or tag.

What do you think?

bruno- commented 9 years ago

Hey @vasconcelloslf, this feature makes sense, but it's not related to the core idea of tmux-open.

I'd like to encourage you to make a new repository out of this PR. The potential for tmux <-> git integration is huge and a new project (maybe tmux-git?) would be a good base for future enhancements in this direction.

Also, please free to reuse/copy all the code you want from tmux-open (or any other plugin for the matter). Let me know when you have something and I'd be glad to add a link to your plugin from this projects README and in tpm project.

How does that sound?

lfv89 commented 9 years ago

It sounds great! I will definitely do that. I will let you know when I have something solid.