:help [subject]
attempts to find the "best" match for the argument you supply. The argument "can include wildcards like *
, ?
and [a-z]
(any letter).
You can additionally use Vim's command-line completion with CTRL+D
:
:help spli<Ctrl-D>
will display a list of help topics matching the pattern spli
, including split()
, and :split
.
To search for Ctrl
-based commands, like Ctrl-V
, type:
:help ^V
with a literal caret character, or even more specifically,
:help i_^V
to get help on Ctrl-V
in insert mode.
As you see, vim has a nomenclature for its help topics. For instance, options are quoted (see :h 'sw'
), commands start with a colon (see :h :split
), functions end with empty brackets (see :h split()
), insert mode mappings start with i_
, command mode mappings start with c_
, and so on, except normal mode mappings that have no prefix.
Search term | Help page |
---|---|
:help textwidth | Configuration for line-length/text-width |
:help normal | :normal command, to execute normal-mode commands from the command-line |
:help cursor | Vimscript command to move the cursor around |
:help buffers | Working with buffers; same as :help windows |
:help :buffer | The :buffer command |
:help :vs | Vertical splitting |