事例
默认情况下,在example_fun|ction.prop()
文本中,|
为光标所在位置
viw
选中function
viW
选中example_function.prop()
vio
选中example_function.prop
viw
vio
都符合我的预期,但是viW
我希望是选中example_function.prop
(不含标点括号)
尝试
我evil的文档里找到了evil-bigword
,做了如下设置并不起效果
(setq evil-bigword "^][(){},.&| \t\r\n")
evil-bigword
手册上的文档说明:
The set of characters to be interpreted as WORD boundaries.
This is enclosed with square brackets and used as a regular
expression. By default, whitespace characters are considered
WORD boundaries.
问题
如何令viW
不选中][(){},.&|
标点?