这非常奇怪,并且阻止我写作,因为它非常麻烦。当我写奇怪的字符时,如果我有 columns= on。出现的第一件事(所有这些问题都在第一行之后)是标尺或装订线(至少那是唯一具有该背景颜色的两件事)出现在文本中间。其次,额外的字符会出现在行尾。例如:
Here is some text
here is the wrap, this is still part of the first line
实际输出将是
Here is some textt
here is the wrap, this is still part of the first line
如果我去删除所有我会留下的文字
t
e
或者其他的东西。这是我发现一些问题的视频:
http://screencast.com/t/QsjZ0b2jG6bh
同样,这仅适用于设置columns=80
。此外,这是我的 vimrc 文件中的内容,在:Write
我所做的这种模式下也发生了变化。
func! WordProcessorMode()
setlocal formatoptions=1
setlocal noexpandtab
setlocal spell spelllang=en_us
set complete+=s
set formatprg=par
setlocal wrap
setlocal linebreak
let g:solarized_termcolors=256
set background=light
colorscheme solarized
colors solarized
set nocul
set columns=80
set noruler
AutoCloseOff
endfu
com! Write call WordProcessorMode()