代码: 全选
) 下一个句子
( 上一个句子
我查了Vim的帮助文档,Sentence的定义是
请问如何能把中文的句号,叹号,问好加进去?这样Vim就识别中文句子了。*sentence*
A sentence is defined as ending at a '.', '!' or '?' followed by either the
end of a line, or by a space or tab. Any number of closing ')', ']', '"'
and ''' characters may appear after the '.', '!' or '?' before the spaces,
tabs or end of line. A paragraph and section boundary is also a sentence
boundary.
If the 'J' flag is present in 'cpoptions', at least two spaces have to
follow the punctuation mark; <Tab>s are not recognized as white space.
The definition of a sentence cannot be changed.
注:我是在Windows下使用gVim 7.2.