dsemy.com [Home] [Up]

Next: , Previous: Installation, Up: Top


3 Usage

It is recommended for vcomplete-mode to be enabled:

M-x vcomplete-mode RET
You can also add (vcomplete-mode) to your init file, instead.

When vcomplete-mode is enabled, the *Completions* buffer appears and updates automatically (by default), and the completion at point in the *Completions* buffer is highlighted automatically.

The following commands are also made available when completion is in progress:

C-n
Select the next displayed completion (vcomplete-next-completion). This command moves point in the *Completions* buffer to the next available completion, and highlights it. This command may be used to advance multiple completions at a time with a prefix argument.

C-p
Select the previous displayed completion (vcomplete-prev-completion). This command moves point in the *Completions* buffer to the previous available completion, and highlights it. This command may be used to advance multiple completions at a time with a prefix argument.

M-RET
Choose the currently highlighted completion in the *Completions* buffer (vcomplete-choose-completion).

You may use these commands without enabling vcomplete-mode (although they won't be bound by default). See Completion commands for information regarding defining new commands.