Vim Recall繁體中文

Complete identifiers

Ctrl-x Ctrl-i

Example

Insert 0 / 2
#include "prepared.h"
pr
Insertion point on line 2, column 3

Complete identifiers.

Prepared include

File
prepared.h
Prepared data
void print(void);
Before & after
Before
#include "prepared.h"
pr
Insertion point on line 2, column 3

Prepared include

File
prepared.h
Prepared data
void print(void);
After
#include "prepared.h"
print
Insertion point on line 2, column 6

Prepared include

File
prepared.h
Prepared data
void print(void);

ILLUSTRATION. Assume +insert_expand and +find_in_path; prepared.h is readable on path and the displayed include syntax is recognized; completeopt=menu,menuone (no noinsert/noselect). Sources are illustrated data, never files read by this module.

Details & Vim help

Complete identifiers. 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.