Last Updated: February 25, 2016
·
2.229K
· megalithic

Clean vim draw/artifacts

i've noticed several of my coworkers get random drawing issues in their vim setups, this helps to fix it.. you can adapt it to fire on InsertLeave also:

au BufWritePost * :silent! :syntax sync fromstart<cr>:redraw!<cr>

1 Response
Add your response

For a manual redraw you can also hit CTRL-L, although I like the automatic rule

over 1 year ago ·