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