Vim Recall繁體中文

Popup a menu by name

:popup

Example

Normal 0 / 2

Popup a menu by name.

GUI menus

Visible menu
none
Before & after

Before

GUI menus

Visible menu
none

After

GUI menus

Visible menu
Recall popup is visible at the text cursor, containing Demo

Subject: :popup. Documentation-backed illustration; assumes Win32 or GTK GUI, or terminal popup-menu support; Recall.Demo is defined and enabled for Normal mode; Awaiting choice labels the visible menu interaction; not replay-verified. Recall popup is visible at the text cursor, containing Demo. No menu item has been activated yet.

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

Popup a menu by name. 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 :popu[p] 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.