I had vim installed on ubuntu 12.04 not long ago. Sometimes when I run my cursor (using keyboard, not mouse) over code, text disappears, as though there is a problem rendering t
So I found out whats the problem. Turns out after I removed one line from my .vimrc, the weird visual rendering bugs are gone.
Did not expect this innocuous looking line to be the cause:
set lines=50 columns=100
Not sure why this is the case though.
Maybe a late reply. I'm running ubuntu 16.04 on a virtualbox machine, and had the same issue with the default VI. Fixed by just installing VIM on top:
sudo apt-get install vim