I am using Vim, and somehow the Vim doesn't refresh display properly.
For example, I use set cursorline
and move to the next time, the remnant of the cursorline remains. Same goes to when I type:
, the bottom panel is supposed to be cleared, but the text remained there, which is really annoying. I also tried vim -U NONE -u NONE -N
but it didn't solve the problem either. My system is xterm and vim is able to detect the right xterm. I am at a loss as to how to fixed the problem.
I did find a temporary solution, that is type :!clear
in Vim, which will keep Vim functional for the session, but it's annoying that I have do this every time I go to vim. Just wondering if there is a better solution.