more gitgutter mappings

This commit is contained in:
ManjaroOne666 2018-02-23 13:38:26 +00:00
parent 9c0362ffbe
commit ffcff09221
1 changed files with 4 additions and 0 deletions

4
vimrc
View File

@ -402,6 +402,10 @@ endif
" gitgutter
nmap ]h <Plug>GitGutterNextHunk
nmap [h <Plug>GitGutterPrevHunk
omap ih <Plug>GitGutterTextObjectInnerPending
omap ah <Plug>GitGutterTextObjectOuterPending
xmap ih <Plug>GitGutterTextObjectInnerVisual
xmap ah <Plug>GitGutterTextObjectOuterVisual
" Use the silver searcher ag command instead of grep
if executable('ag')