- loading...
GitHub and TextMate Unite
I wanted to go from a source file to the equivalent file on github. I wanted a selection of lines in TextMate editor to also be selected when I was taken to github.com. I wanted to cut back on my senseless killing of innocent pasties.
Finally, I wanted to make a nice little video to show off the new GitHub.tmbundle.
TextMate and GitHub: Show the current file in GitHub from Dr Nic on Vimeo.
Which remote repository is it choosing?
If you have multiple remote references to github.com repositories, then the algorithm picks one in the following order:
- A remote named ‘github’
- A remote named ‘origin’
- The first remote for a github.com repository
What else could go in a GitHub textmate bundle?
Related posts:
- Migrating project websites to github pages with sake tasks, new websites with jekyll_generator Its almost Christmas time and that means presents. It...
- TextMate easter egg: find bundle commands by key combo I’ve dreamed of the ability to ask TextMate “what frigging...
- Using Ruby within TextMate snippets and commands I didn’t know you could run Ruby within TextMate snippets....
- How to yell at people with GitHub from TextMate Sometimes when you are perusing code you ask the question:...
- TextMate bundles for Merb If you are using TextMate (OS X) or E Text...
You rule.
totally awesome!
BTW it requires the git gem. Make sure you have it installed before giving a try to to yet another very useful TM bundle.
[...] Источник: Dr.Nic blog. [...]
Latest version of bundle now uses https for private repos.
[...] GitHub and TextMate Unite – Another TextMate bundle from Dr. Nic. [...]
Great so far! I’d love a shorthand for the “annotate” command — something that’d jump to the page for the commit that most recently changed the line you’re on.
@andrew – yeah that’d be cool indeed. The tricky bit is that you’re looking at local versions of a file from one of several remotes and/or several branches. But I’m sure we can algorithmically find which commit changed that line to be equal to what it is now. Sounds cool indeed.
For VIM users: http://github.com/solars/github-vim/tree/master
Hmm. Just installed the bundle. I have the git gem installed. The command brings up the file in the GitHub repository but does not highlight the selected code. It is a private repository. Could this be the problem?
@phil – I did apply a fix for the http/https issue the other day. Have you added + committed + pushed the file?
@andrew – feature added; thx for the idea.
A promising approach in software develoment where:
- developers act as friends
- code act as content
I call it the developer 2.0 era.
I would like to share you some opinion about this stuff.
Thanks
Francesco
@Dr Nic: what happened to this bundle? When I go to http://github.com/drnic/github-tmbundle/tree/master I get “Nothing to see here yet. Move along.”
@PeterC – this is fixed now. I was notified by Github over the weekend that the repo had become corrupt internally but its now fixed with a simple “git push origin master” Yay for DSCM.