I don’t want to write too long code in one line. I want to automatically wrap the line after writing a certain width. How should I configure this?
textwidth=90 has been set
But it does not take effect in the editor (vim has been restarted).
欢迎选择我的课程,让我们一起见证您的进步~~
It feels bad to have automatic line wrapping. I used a vertical bar to set the line width, which is equivalent to a reminder. https://github.com/ruanyl/bigvim/blob/master/vimrc#L106
set columns=40
:set tw?
What does it show?
:help wrap
It feels bad to have automatic line wrapping. I used a vertical bar to set the line width, which is equivalent to a reminder. https://github.com/ruanyl/bigvim/blob/master/vimrc#L106
set columns=40
What does it show?
:help wrap