Vim Recall繁體中文

Enter a submenu when the cursor is just after a dot in the menu name

<CR> (wildmenu)

Example

Command-line 0 / 1

Enter a submenu when the cursor is just after a dot in the menu name.

Command line

Typed text
:emenu Tools.
Insertion offset
13

Active completion

Configuration
wildmenu, wildmode=full, wildoptions= (no pum)
Selected submenu
Tools.
Prepared menu
Tools.Build
Before & after

Before

Command line

Typed text
:emenu Tools.
Insertion offset
13

Active completion

Configuration
wildmenu, wildmode=full, wildoptions= (no pum)
Selected submenu
Tools.
Prepared menu
Tools.Build

After

Command line

Typed text
:emenu Tools.Build
Insertion offset
18

Completion state

Configuration
wildmenu, wildmode=full, wildoptions= (no pum)
Selected
Tools.Build
Candidates
Tools.Build Tools.Test

Documentation-backed illustration. the displayed completion candidates and selection are prepared; 'wildmenu' documents this key's special meaning. With the cursor just after the dot, Enter enters the Tools submenu instead of executing :emenu. Primary help: 'wildmenu'.

Sample buffer
alpha
beta
gamma
Cursor on line 1, column 1
Details & Vim help

Enter a submenu when the cursor is just after a dot in the menu name. Use this while completing a menu name with 'wildmenu'.