solars / github-vim

vim plugin to use github-tmbundle magic

This URL has Read+Write access

github-vim / README
100644 33 lines (19 sloc) 0.955 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
= github.vim http://github.com/solars/github_vim/
 
I tried to remove the dependency on drnics github-tmbundle scripts in this branch,
please report any errors and feel free to correct/suggest/add.
 
== Description
 
This is a quick and dirty vim plugin to use some github features locally from vim.
 
It enables you to:
  
  - open a link to the corresponding github file of a local vim selection
  - add a comment to the corresponding github commit of a locally selected line
 
== Suggested installation
 
The file structure should be clear, just copy the github.vim into ~/.vim/plugin/
 
== Usage
 
  - Comment Commit: on the relevant line Press 'ghc' in normal mode
  - Open Selection: create a selection in visual mode and press 'gho'
 
To remap the keybinding in your ~/.vimrc use:
 
  - map <F5> <Plug>GithubOpen
  - map <F6> <Plug>GithubComment
 
== Notes
 
Since this is my first vim plugins, feel free to send corrections or improvements :)
sol@textmode.at