From 5e27aaedaf998c434697dbdd81e402c71189cefa Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 9 Apr 2020 11:27:47 +0100 Subject: [PATCH] fix git gutter mappings --- init.plugins.vim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/init.plugins.vim b/init.plugins.vim index b077ed6..07f4fdf 100644 --- a/init.plugins.vim +++ b/init.plugins.vim @@ -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 = '' let g:coc_snippet_prev = '' @@ -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 GitGutterNextHunk - nmap [h GitGutterPrevHunk - omap ih GitGutterTextObjectInnerPending - omap ah GitGutterTextObjectOuterPending - xmap ih GitGutterTextObjectInnerVisual - xmap ah GitGutterTextObjectOuterVisual + nmap ]h (GitGutterNextHunk) + nmap [h (GitGutterPrevHunk) + omap ih (GitGutterTextObjectInnerPending) + omap ah (GitGutterTextObjectOuterPending) + xmap ih (GitGutterTextObjectInnerVisual) + xmap ah (GitGutterTextObjectOuterVisual) "}}} " #MatchTagAlways{{{