Vim Recall繁體中文

Select a match several entries forward

<PageDown> (wildmenu popup)

Example

Command-line 0 / 1

Select a match several entries forward.

Command line

Typed text
:edit item0.txt
Insertion offset
15

Active completion

Configuration
wildmenu, wildmode=full, wildoptions=pum, pumheight=5
Candidates
item0.txt … item8.txt
Selected index
0
Visible popup height
5 rows
Before & after

Before

Command line

Typed text
:edit item0.txt
Insertion offset
15

Active completion

Configuration
wildmenu, wildmode=full, wildoptions=pum, pumheight=5
Candidates
item0.txt … item8.txt
Selected index
0
Visible popup height
5 rows

After

Command line

Typed text
:edit item3.txt
Insertion offset
15

Completion state

Configuration
wildmenu, wildmode=full, wildoptions=pum, pumheight=5
Candidates
item0.txt … item8.txt
Selected index
3
Visible popup height
5 rows

Documentation-backed illustration. the displayed completion candidates and selection are prepared; 'wildmenu' documents this key's special meaning. The five-row popup moves the selection by three entries (height minus two), inserting the selected filename; see cmdexpand.c get_next_or_prev_match(). Primary help: 'wildmenu'.

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

Select a match several entries forward. Context: commands in wildmenu mode with 'wildoptions' set to "pum". Parenthesized context labels in the displayed keys are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.