Replace vim-gitgutter with vim-signify

vim-gitgutter is buggy. vim-signify might be better, it does allow
configuration of which events trigger a sign column update and this
patch takes advantage of that. Firstly, the `CursorHold` and
`CursorHoldI` events are disabled and replaced with `InsertLeave` and
`TextChanged` events. This makes the sign column updates immediate, and
since vim-signify is asynchronous it's faster too.
This commit is contained in:
2021-01-26 23:39:31 +00:00
parent eac02b26d3
commit 9c64158445
5 changed files with 25 additions and 8 deletions

View File

@@ -25,4 +25,7 @@ augroup benieAugroup
au BufNewFile * silent! call snippet#template()
" Do the same when filetype changes to help
au FileType help silent! call snippet#template()
" Augment vim-signify by modifying it's autocmds
au User SignifyAutocmds call do#signify()
augroup END

View File

@@ -162,6 +162,11 @@ set mouse=a
" q - allow formatting with 'gq'
set formatoptions+=rq
" Always show the signcolum
if exists('&signcolumn')
set signcolumn=yes
endif
" Enable modeline
set modeline