Complete identifiers
Ctrl-x Ctrl-i
Example
Insert 0 / 2Insert 1 / 2Insert 2 / 2#include "prepared.h"
prInsertion point on line 2, column 3#include "prepared.h"
printInsertion point on line 2, column 6#include "prepared.h"
printInsertion point on line 2, column 6Complete identifiers.
Prepared include
- File
prepared.h- Prepared data
void print(void);
Start this completion family and insert the prepared first candidate.
Prepared include
- File
prepared.h- Prepared data
void print(void);
Prepared completion menu
- Selected
print
Accept the selected completion.
Prepared include
- File
prepared.h- Prepared data
void print(void);
Before & after
#include "prepared.h"
prInsertion point on line 2, column 3Prepared include
- File
prepared.h- Prepared data
void print(void);
#include "prepared.h"
printInsertion point on line 2, column 6Prepared 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.