The Ctrl-X Sub-Completions
Specialized completion: filenames, lines, dictionary, omni.
Ctrl-X enters a sub-mode where the next key picks a completion source: Ctrl-F for filenames, Ctrl-L for whole lines, Ctrl-K for dictionary, Ctrl-O for omni-complete (language-aware), and more.
The Ctrl-X Sub-Completions
Plain Ctrl-N pulls from buffers. The Ctrl-X prefix opens a sub-menu where the next key chooses a more specific source.
| Sequence | Source |
|---|---|
| Ctrl-XCtrl-F | Filenames (in cwd) |
| Ctrl-XCtrl-L | Whole lines |
| Ctrl-XCtrl-N | Keywords from current file only |
| Ctrl-XCtrl-K | Dictionary words ('dictionary') |
| Ctrl-XCtrl-T | Thesaurus ('thesaurus') |
| Ctrl-XCtrl-I | Included files (e.g. #include) |
| Ctrl-XCtrl-] | Tags |
| Ctrl-XCtrl-D | Macro definitions |
| Ctrl-XCtrl-V | Vim command-line |
| Ctrl-XCtrl-U | User-defined function ('completefunc') |
| Ctrl-XCtrl-O | Omni-complete (language-aware, 'omnifunc') |
| Ctrl-Xs | Spelling suggestions |
Watch
- ๐บ #0389 Ctrl-X Ctrl-T Thesaurus (not yet published)
- ๐บ #0393 Ctrl-X Ctrl-O Omni Completion (not yet published)