Vim Recall繁體中文

Complete file names

Ctrl-x Ctrl-f

Example

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

Complete file names.

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: files
alpha.txt
alpine.txt

Start in Insert mode. The private example directory contains alpha.txt and alpine.txt. Filename completion matches those temporary files after the typed prefix al.

Details & Vim help

Example replayed in Vim

Complete file names. 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.