Tear-off a menu
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Tear-off a menu.
GUI menus
- Floating tearoff
none
Command entered · ready to apply
GUI menus
- Floating tearoff
none
Recall floating tearoff is open, containing Demo. No menu item has been activated yet.
GUI menus
- Floating tearoff
Recall floating tearoff is open, containing Demo
Before & after
Before
GUI menus
- Floating tearoff
none
After
GUI menus
- Floating tearoff
Recall floating tearoff is open, containing Demo
Subject: :tearoff. Documentation-backed illustration; assumes Win32 GUI with +menu and :tearoff support; Recall.Demo already defined; not replay-verified. Recall floating tearoff is open, containing Demo. No menu item has been activated yet.
notesCursor on line 1, column 1Details & Vim help
Tear-off a 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 :te[aroff] 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.