fix git gutter mappings

This commit is contained in:
Ray Elliott 2020-04-09 11:27:47 +01:00
parent 920cd98c5b
commit 5e27aaedaf
1 changed files with 7 additions and 7 deletions

View File

@ -56,7 +56,7 @@ call plug#begin('~/.config/nvim/bundle')
" SEE BOTTOM OF VIMRC FOR coc#add_extension statement " SEE BOTTOM OF VIMRC FOR coc#add_extension statement
" for some reason fails when added some other places " for some reason fails when added some other places
Plug 'neoclide/coc.nvim', {'tag': '*', 'do': { -> coc#util#install()}} Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': { -> coc#util#install()}}
let g:coc_snippet_next = '<tab>' let g:coc_snippet_next = '<tab>'
let g:coc_snippet_prev = '<s-tab>' let g:coc_snippet_prev = '<s-tab>'
@ -104,12 +104,12 @@ call plug#begin('~/.config/nvim/bundle')
" https://github.com/airblade/vim-gitgutter/blob/master/README.mkd " https://github.com/airblade/vim-gitgutter/blob/master/README.mkd
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
nmap ]h <Plug>GitGutterNextHunk nmap ]h <Plug>(GitGutterNextHunk)
nmap [h <Plug>GitGutterPrevHunk nmap [h <Plug>(GitGutterPrevHunk)
omap ih <Plug>GitGutterTextObjectInnerPending omap ih <Plug>(GitGutterTextObjectInnerPending)
omap ah <Plug>GitGutterTextObjectOuterPending omap ah <Plug>(GitGutterTextObjectOuterPending)
xmap ih <Plug>GitGutterTextObjectInnerVisual xmap ih <Plug>(GitGutterTextObjectInnerVisual)
xmap ah <Plug>GitGutterTextObjectOuterVisual xmap ah <Plug>(GitGutterTextObjectOuterVisual)
"}}} "}}}
" #MatchTagAlways{{{ " #MatchTagAlways{{{