github.vim a vim plugin for github
Recently drnic showed me his textmate bundle for github and I was really impressed.
It let’s you do the following:
- select some lines of code in Textmate, and open the same section (including selection hilighting) on the corresponding public github url
- go to a specific line of code, hit a key, and get directly to the github page of that commit and file, ready to post a comment
I didn’t even know about those possibilites github offers.. and I thought, wow I need this in my editor (vim) too.
So i created a little plugin, my first vim plugin, wrapping the – fortunately very modular – scripts drnic wrote.
There are 2 branches:
- Master – a standalone version without the github-tmbundle dependency
- TMB – a shorter version that depends on the scripts included in github-tmbundle
Both are available on my github repository as github-vim
The latter is easier to maintain since I only have to write calls to the existing methods, so I will update it with all new features in the tmbundle as soon as possible. But I will try to keep the standalone version as current as possible.
As mentioned this is my first vim plugin, therefore any suggestions, corrections and requests are very welcome.