How to wrap long lines in .vimrc?

后端 未结 1 789
太阳男子
太阳男子 2021-02-01 19:00

I\'ve setup a colorcolumn=80, but I found I can not wrap long lines in ~/.vimrc.

Is there any method like C\'s \\ to concatenate?

For e

相关标签:
1条回答
  • Lines in the .vimrc file can be wrapped by putting the escaping \ at the beginning of the continuation line:

    autocmd FileType python
        \ setlocal ai si et sta sw=4
        \ textwidth=80 backspace=indent,eol,start fo=croql
    

    See :h line-continuation

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