mirror of https://github.com/helix-editor/helix
Implement `:help topics` and document "Words vs. WORDS"
`:help topics` will open a fuzzy picker of files in `runtime/help/topics` for non-command-related help topics.pull/997/head
parent
c108d565a1
commit
835d5152e5
@ -0,0 +1,19 @@
|
||||
Words vs. WORDS
|
||||
|
||||
Words and WORDS are two very similar types of text objects. A word
|
||||
is a string of "word" characters, which include letters, numbers,
|
||||
and underscores. A WORD, on the other hand, is any string of
|
||||
non-whitespace characters.
|
||||
|
||||
In the example below, the words are underlined by 'w', and the
|
||||
WORDS are underlined by 'W'.
|
||||
|
||||
This "stuff" is not-so difficult!
|
||||
---------------------------------
|
||||
wwww wwwww ww www ww wwwwwwwww
|
||||
WWWW WWWWWWW WW WWWWWW WWWWWWWWWW
|
||||
|
||||
As is visible in the example, the words do not include any of the
|
||||
non-alphanumeric punctuation, while the WORDS do include the
|
||||
quotes, hyphen, and exclamation point. Also notice that 'not-so'
|
||||
contains two words, but only one WORD.
|
Loading…
Reference in New Issue