Clear menu for all modes
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Clear menu for all modes.
GUI menu bar
- Entry
Example.Hello- Mode definitions
all non-Terminal modes- Action
hello
Command entered · ready to apply
GUI menu bar
- Entry
Example.Hello- Mode definitions
all non-Terminal modes- Action
hello
Command line
- Typed text
:aunmenu Example.Hello- Insertion offset
22
Remove the prepared Example.Hello definition from all non-Terminal modes. With no remaining definitions, that entry disappears.
GUI menu bar
- Example.Hello
removed; no definitions remain
Before & after
Before
GUI menu bar
- Entry
Example.Hello- Mode definitions
all non-Terminal modes- Action
hello
After
GUI menu bar
- Example.Hello
removed; no definitions remain
Documentation-backed illustration. GUI Vim with +menu, guioptions containing m, and Example.Hello defined only in the displayed modes. Remove the prepared Example.Hello definition from all non-Terminal modes. With no remaining definitions, that entry disappears. Primary help: :aunmenu.
alpha
beta
gammaCursor on line 1, column 1Details & Vim help
Clear menu for all modes. 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 :aun[menu] 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.