Vim Recall繁體中文

Close one help window

:helpclose

Example

Normal 0 / 2
*demo-topic*
DemoNeedle: a tiny example help topic.
Cursor on line 1, column 1

Close one help window.

Windows

Help: demo.txt Active
*demo-topic* DemoNeedle: a tiny example help topic.
notes.txt
alpha beta gamma
Before & after
Before
*demo-topic*
DemoNeedle: a tiny example help topic.
Cursor on line 1, column 1

Windows

Help: demo.txt Active
*demo-topic* DemoNeedle: a tiny example help topic.
notes.txt
alpha beta gamma
After
alpha
beta
gamma
Cursor on line 1, column 1

Windows

notes.txt Active
alpha beta gamma

Documentation-backed illustration. one help window and one ordinary notes.txt window exist in the current tab. :helpclose closes the current tab's help window and returns focus to notes.txt. Primary help: :helpclose.

Details & Vim help

Close one 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 :helpc[lose] 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.