8471 shaares
203 private links
203 private links
A plugin which marks new, modified and deleted lines on the left side of the window.
Moreover, it can automatically stage hunks
- stage the hunk with
hs or - undo it with
hu.
More informations are on the README. This is awesome.
My GitGutter conf in .vimrc:
" Icons for gitgutter
let g:gitgutr_sign_added = '+'
let g:gitgutter_sign_modified = '>'
let g:gitgutter_sign_removed = '—'
let g:gitgutter_sign_removed_first_line = '^'
let g:gitgutter_sign_modified_removed = '<'
set updatetime=200
highlight GitGutterAdd guifg=#009900 ctermfg=2
highlight GitGutterChange guifg=#bbbb00 ctermfg=3
highlight GitGutterDelete guifg=#ff2222 ctermfg=1