aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/plug-config
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/plug-config')
-rw-r--r--.config/nvim/plug-config/signify.vim22
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/nvim/plug-config/signify.vim b/.config/nvim/plug-config/signify.vim
new file mode 100644
index 0000000..bd655f9
--- /dev/null
+++ b/.config/nvim/plug-config/signify.vim
@@ -0,0 +1,22 @@
+" Change these if you want
+let g:signify_sign_add = '+'
+let g:signify_sign_delete = '_'
+let g:signify_sign_delete_first_line = '‾'
+let g:signify_sign_change = '~'
+
+" I find the numbers disctracting
+let g:signify_sign_show_count = 0
+let g:signify_sign_show_text = 1
+
+
+" Jump though hunks
+nmap <leader>gj <plug>(signify-next-hunk)
+nmap <leader>gk <plug>(signify-prev-hunk)
+nmap <leader>gJ 9999<leader>gJ
+nmap <leader>gK 9999<leader>gk
+
+
+" If you like colors instead
+" highlight SignifySignAdd ctermbg=green guibg=#00ff00
+" highlight SignifySignDelete ctermfg=black ctermbg=red guifg=#ffffff guibg=#ff0000
+" highlight SignifySignChange ctermfg=black ctermbg=yellow guifg=#000000 guibg=#ffff00