Vim Recall繁體中文

Omni completion

Ctrl-x Ctrl-o

Example

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

Omni completion.

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: omni
alpha
alpine

Start in Insert mode. omnifunc is explicitly set to the local PlaybackComplete function, which returns alpha and alpine. The panel shows those actual function results.

Details & Vim help

Example replayed in Vim

Omni completion. 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.