What is the best way to deal with remnant text in vim editor? I'm ssh to a remote terminal using Xquartz, and edit my code using vim. When I hit return, there remains text displayed in the current line, even thought they are actually moved to the next line. It becomes hard to read and I have to restart vim every now and then. Is there a solution for that problem?
For example: if I add set cursorline
in my .vimrc
and then move the cursor around it will show like this, and :redraw!
won't fix the problem: