Vim Recall繁體中文

Clear menu

:unmenu

Example

Normal 0 / 2

Clear menu.

Menu definitions

Recall.Demo
Normal, Visual, Select and Operator-pending: <Esc> (remappable RHS)
Before & after

Before

Menu definitions

Recall.Demo
Normal, Visual, Select and Operator-pending: <Esc> (remappable RHS)

After

Menu definitions

Recall.Demo
not defined in Normal, Visual, Select and Operator-pending

Subject: :unmenu. Documentation-backed illustration; assumes +menu and GUI menu support; explicit mode follows map.txt mapmode links (v includes Select; x is Visual only); not replay-verified. Removes Recall.Demo's Normal, Visual, Select and Operator-pending menu mapping.

Sample buffer
one two
Cursor on line 1, column 1
Details & Vim help

Clear menu. 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 :unme[nu] 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.