Next: , Up: Basic Completion Commands


4.2.1 Inserting Completions

complete-predictive
(M-TAB, M-SHIFT-TAB, M-/, M-?) Find completions for the word at or next to the point.
completion-cycle
(M-TAB, M-SHIFT-TAB, M-/, M-?) Cycle through available completion candidates. When supplied with a prefix argument, it will jump that many completions forwards (or backwards if the prefix argument is negative). M-/ and M-? cycle backwards (so a negative argument will cause them to jump forwards that number of completions).
completion-accept
(C-RET) Accept the current completion, and move the point just beyond it. If predictive-auto-learn and/or predictive-auto-add are enabled, predictive mode will also learn the word (see Dictionary Learning).
completion-reject
(C-Backspace, C-SPC) Abandon the current completion, removing the provisionally inserted (i.e. highlighted) characters. If a prefix argument is supplied, predictive mode will also learn the resulting word, i.e. the prefix with the provisional completion removed (see Dictionary Learning). The C-SPC binding is only active in auto-completion-mode (see Auto-Completion Mode).
completion-tab-complete
(TAB) Do “traditional” tab-completion, i.e. insert the longest common prefix of all candidate completions, and re-complete the resulting longer string.
completion-extend-prefix
(C-TAB) Insert the characters from the current completion as though typed manually, and look for completions of the resulting, longer string.

Note that, apart from the complete-predictive bindings, none of the other key bindings are active until you have started completing a word, either using complete-predictive or automatically if you are using auto-completion-mode (see Auto-Completion Mode).