Enter a submenu when the cursor is just after a dot in the menu name
<CR> (wildmenu)
Example
Command-line 0 / 1Command-line 1 / 1Enter 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
With the cursor just after the dot, Enter enters the Tools submenu instead of executing :emenu.
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
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'.
alpha
beta
gammaCursor on line 1, column 1Details & 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'.