How to show vertical line to wrap the line in Vim?

前端 未结 5 1921
醉话见心
醉话见心 2021-01-29 22:26

I\'m interested in finding a way to show a vertical line at column 80 in Vim (not GVim).

I\'ve used set wrap, but I just want to show a vertical line so I c

5条回答
  •  没有蜡笔的小新
    2021-01-29 22:59

    I use match ErrorMsg '\%>80v.\+' which will highlight anything over 80 chars with red.

    I put that command in my python.vim and ruby.vim under ~/.vim/after/ftplugin/.

提交回复
热议问题