diff --git a/.gitmodules b/.gitmodules index 3d95d6a6..f7ce0cef 100644 --- a/.gitmodules +++ b/.gitmodules @@ -91,3 +91,6 @@ [submodule "bundle/vim-coffee-script"] path = bundle/vim-coffee-script url = git://github.com/kchmck/vim-coffee-script.git +[submodule "bundle/vim-gitgutter"] + path = bundle/vim-gitgutter + url = git://github.com/airblade/vim-gitgutter.git diff --git a/README.md b/README.md index 02e20a60..99845a18 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,8 @@ PLUGINS `:Ack [options] {pattern} [{directory}]` +* [Git Gutter](https://github.com/airblade/vim-gitgutter): shows a git diff in the 'gutter' (sign column). It shows whether each line has been added, modified, and where lines have been removed. + Language specific supports -------------------------- diff --git a/bundle/vim-gitgutter b/bundle/vim-gitgutter new file mode 160000 index 00000000..14563c36 --- /dev/null +++ b/bundle/vim-gitgutter @@ -0,0 +1 @@ +Subproject commit 14563c368995c6973795ab5a3b034c55e52fdbaa diff --git a/vimrc b/vimrc index 71d367da..7735324d 100644 --- a/vimrc +++ b/vimrc @@ -333,3 +333,6 @@ let g:snipMateAllowMatchingDot = 0 " --- coffee-script au BufWritePost *.coffee silent CoffeeMake! -b | cwindow | redraw! " recompile coffee scripts on write + +" --- vim-gitgutter +let g:gitgutter_enabled = 1