aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r--.config/nvim/init.vim14
1 files changed, 10 insertions, 4 deletions
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
\ <bang>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 <Plug>(GitGutterStageHunk)
+nmap ghu <Plug>(GitGutterUndoHunk)
+nmap ghp <Plug>(GitGutterPreviewHunk)
nmap ]g :GitGutterNextHunk<CR>
nmap [g :GitGutterPrevHunk<CR>
augroup VimDiff