Vim Recall繁體中文

Complete whole lines

Ctrl-x Ctrl-l

Example

Insert 0 / 1
alpha alpine beta
al
Insertion point on line 2, column 3

Complete whole lines.

Completion

Completion inactive
Before & after
Before
alpha alpine beta
al
Insertion point on line 2, column 3

Completion

Completion inactive
After
alpha alpine beta
al
Insertion point on line 2, column 3

Completion

Mode: whole_line
alpha alpine beta

Start in Insert mode. Completion candidates come from the displayed buffer only; complete=. restricts keyword sources. The panel shows Vim's actual candidates.

Details & Vim help

Example replayed in Vim

Complete whole lines. Context: commands in CTRL-X submode *i_CTRL-X_index*. 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.