Vim Recall繁體中文

Complete with 'completefunc'

Ctrl-x Ctrl-u

Example

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

Complete with 'completefunc'.

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

Start in Insert mode. completefunc 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

Complete with 'completefunc'. 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.