当我输入超过textwidth的代码时,它会将其包装成它应该...
13 something
14 "long long (...) long
long long string
15
...但是当我点击结束双引号(“)时它会这样做:
13 something
14 "long long (...) long
15 long long string"
如何解决这个问题?我不想要换行和缩进,我希望它能像这样工作:
13 something
14 "long long (...) long
long long string"
15
这是我在_vimrc中的缩进/包装设置:
set expandtab "spaces for tabs
set smarttab
" 1 tab == 4 spaces
set tabstop=4
set shiftwidth=4
set softtabstop=4
set autoindent
set smartindent
set cindent
set backspace=2 "backspace work normal
set whichwrap+=<,>,h,l "backspace, cursor keys wrap to next/prev lines