Vim Recall繁體中文

Add one character from the current match

Ctrl-l (completion)

Example

Insert 0 / 1
al
Insertion point on line 1, column 3

Add one character from the current match.

Prepared visible popup

1 Active
alpha
2
alpine
3
alps
4
alto
5
always
6
algebra
7
alias
8
align
9
alive

Completion state

Originally typed
al
State
Selected entry has not been inserted
Before & after
Before
al
Insertion point on line 1, column 3

Prepared visible popup

1 Active
alpha
2
alpine
3
alps
4
alto
5
always
6
algebra
7
alias
8
align
9
alive

Completion state

Originally typed
al
State
Selected entry has not been inserted
After
alp
Insertion point on line 1, column 4

Prepared visible popup

1 Active
alpha
2
alpine
3
alps

Completion state

Originally typed
alp
State
Selected entry has not been inserted

ILLUSTRATION. Visible completion is in its second state: alpha is selected but only al is typed. Ctrl-l adds one character from that candidate.

Details & Vim help

During Insert mode completion, Ctrl-l adds one character from the current match after you highlight a match with a cursor key or narrow the list by editing the typed prefix.