fix git gutter mappings
This commit is contained in:
parent
920cd98c5b
commit
5e27aaedaf
|
@ -56,7 +56,7 @@ call plug#begin('~/.config/nvim/bundle')
|
|||
" SEE BOTTOM OF VIMRC FOR coc#add_extension statement
|
||||
" 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_prev = '<s-tab>'
|
||||
|
@ -104,12 +104,12 @@ call plug#begin('~/.config/nvim/bundle')
|
|||
" https://github.com/airblade/vim-gitgutter/blob/master/README.mkd
|
||||
Plug 'airblade/vim-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
|
||||
nmap ]h <Plug>(GitGutterNextHunk)
|
||||
nmap [h <Plug>(GitGutterPrevHunk)
|
||||
omap ih <Plug>(GitGutterTextObjectInnerPending)
|
||||
omap ah <Plug>(GitGutterTextObjectOuterPending)
|
||||
xmap ih <Plug>(GitGutterTextObjectInnerVisual)
|
||||
xmap ah <Plug>(GitGutterTextObjectOuterVisual)
|
||||
|
||||
"}}}
|
||||
" #MatchTagAlways{{{
|
||||
|
|
Loading…
Reference in New Issue