From ddb5b5c75aadac8686050f67b53a3233110ad205 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 18 Mar 2020 00:23:43 +0100 Subject: Freekin' awesome --- .config/nvim/init.vim | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.config/nvim/init.vim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 0a996f3..c4d8784 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -133,10 +133,16 @@ command! -bang -nargs=* Rg \ 0) " Git implementation -let g:gitgutter_sign_added = '▌' -let g:gitgutter_sign_modified = '▌' -let g:gitgutter_sign_removed = '▌' -let g:gitgutter_sign_modified_removed = '∙' +let g:gitgutter_enabled=1 +let g:gitgutter_map_keys=0 +let g:gitgutter_sign_added='∙' +let g:gitgutter_sign_modified='∙' +let g:gitgutter_sign_removed='∙' +let g:gitgutter_sign_modified_removed='∙' +let g:gitgutter_grep='rg' +nmap ghs (GitGutterStageHunk) +nmap ghu (GitGutterUndoHunk) +nmap ghp (GitGutterPreviewHunk) nmap ]g :GitGutterNextHunk nmap [g :GitGutterPrevHunk augroup VimDiff -- cgit v1.2.3