The Ctrl-X Sub-Completions

Specialized completion: filenames, lines, dictionary, omni.

Keys: Ctrl-X

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.

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

See also: Word Completion (Ctrl-N / Ctrl-P)