Define menu tooltip
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Define menu tooltip.
Menu definitions
- Recall.Hello
:echo 'Hello'<CR>- Tooltip
none
Command entered · ready to apply
Menu definitions
- Recall.Hello
:echo 'Hello'<CR>- Tooltip
none
Associates the tip with Recall.Hello; hovering the existing item can display this text. This defines a tip, not a Terminal-mode menu.
Menu definitions
- Recall.Hello
:echo 'Hello'<CR>- Tooltip
Displays a greeting.
Before & after
Before
Menu definitions
- Recall.Hello
:echo 'Hello'<CR>- Tooltip
none
After
Menu definitions
- Recall.Hello
:echo 'Hello'<CR>- Tooltip
Displays a greeting.
Subject: :tmenu. Documentation-backed illustration; assumes X11 or Win32 GUI with +menu and prepared Recall.Hello item; not replay-verified. Associates the tip with Recall.Hello; hovering the existing item can display this text. This defines a tip, not a Terminal-mode menu.
notesCursor on line 1, column 1Details & Vim help
Define menu tooltip. 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 :tm[enu] 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.