Open a help window
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2alpha
beta
gammaCursor on line 1, column 1alpha
beta
gammaCursor on line 1, column 1*demo-topic*
DemoNeedle: a tiny example help topic.Cursor on line 1, column 1Open a help window.
Command entered · ready to apply
Command line
- Typed text
:help demo-topic- Insertion offset
16
:help opens the prepared demo-topic in a help window.
Windows
- Help: demo.txt Active
*demo-topic* DemoNeedle: a tiny example help topic.
- Original buffer
alpha beta gamma
Before & after
alpha
beta
gammaCursor on line 1, column 1*demo-topic*
DemoNeedle: a tiny example help topic.Cursor on line 1, column 1Windows
- Help: demo.txt Active
*demo-topic* DemoNeedle: a tiny example help topic.
- Original buffer
alpha beta gamma
Documentation-backed illustration. the prepared help file and displayed help tag index are installed; no existing help window, enough split space and nosplitbelow. :help opens the prepared demo-topic in a help window. Primary help: :help.
Details & Vim help
Open a help window. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :h[elp] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.