Vim:word vs WORD

我正在学习Vim,不能围绕词和WORD之间的区别。

我从Vim手册中获得了以下内容。

A word consists of a sequence of letters, digits and underscores, or a
sequence of other non-blank characters, separated with white space
(spaces, tabs, ). This can be changed with the ‘iskeyword’
option. An empty line is also considered to be a word.

A WORD consists of a sequence of non-blank characters, separated with
white space. An empty line is also considered to be a WORD.

我觉得词和WORD都是一样的东西。它们都是用空格分隔的非空白字符序列。空行可以被认为是字和WORD。

题:
它们之间有什么区别?
为什么/什么时候会有人用字词?

我已经做了Google和SO搜索,但是他们的搜索引擎将WORD解释为只是单词,所以它就像我在搜索Vim词vs单词,当然不会发现任何有用的。

> WORD总是由空格分隔。
>单词由非关键字字符分隔,这是可配置的。空格字符不是关键字,通常其他字符(如()[], – )不是,两者都不是。因此,一个词通常小于一个WORD;词导航更细粒度。

This "stuff" is not-so difficult!
wwww  wwwww  ww www ww wwwwwwwww    " (key)words, delimiters are non-keywords: "-! and whitespace
WWWW WWWWWWW WW WWWWWW WWWWWWWWWW   " WORDS, delimiters are whitespace only
http://stackoverflow.com/questions/22931032/vim-word-vs-word

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:Vim:word vs WORD