aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/plug-config
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-01 14:58:27 +0200
committerMateja <mail@matejamaric.com>2020-10-01 14:58:27 +0200
commit31072759b0121a80e4fe504a0be7e5643e5eaff8 (patch)
treeabd93201ec81cb1577070f3bbae5fb4addb8d64e /.config/nvim/plug-config
parent7efbeca94babcdb428c628511a51610fd8105bb2 (diff)
downloaddotfiles-31072759b0121a80e4fe504a0be7e5643e5eaff8.tar.gz
dotfiles-31072759b0121a80e4fe504a0be7e5643e5eaff8.zip
Git integration
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