Vim on Ubuntu: Text rendering bug, repeating and disappearing weirdly

后端 未结 2 1152
被撕碎了的回忆
被撕碎了的回忆 2021-02-20 05:43

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

相关标签:
2条回答
  • 2021-02-20 06:39

    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.

    0 讨论(0)
  • 2021-02-20 06:49

    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

    0 讨论(0)
提交回复
热议问题