How do I access Vim's built-in help system?
Answer
:help topic
Explanation
Vim has an extensive built-in help system. The :help command opens help pages for any command, option, or concept.
How it works
:helpopens the main help page:help :substitutegets help on the substitute command:help i_CTRL-Rgets help on Ctrl-R in insert mode:help 'option'gets help on a setting (with quotes)
Example
:help dd " Help on the dd command
:help :global " Help on the :global command
:help 'tabstop' " Help on the tabstop option
:help pattern " Help on regex patterns
Tips
<C-]>follows help links (tags)<C-t>goes back:helpgrep patternsearches all help files- Tab completion works after
:help - Prefixes indicate context:
i_(insert),v_(visual),:(command)