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>
Written by Seth Messer
Related protips
1 Response

For a manual redraw you can also hit CTRL-L, although I like the automatic rule
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#