Visual completions in Emacs

edfc8a5 ; Indicate NonGNU ELPA installation is now available

~dsemy pushed to ~dsemy/vcomplete git

4 months ago

ELPA update via vcomplete-devel

4 months ago
Vcomplete - Visual completions

Vcomplete provides a minor mode enhancing the default completion
list buffer, providing visual aids for selecting completions.



M-x package-install RET vcomplete RET

From the repository:

Clone the repository:

$ git clone 'https://git.sr.ht/~dsemy/vcomplete'

Build the package:

$ cd vcomplete

$ make

Install the package:

M-x package-install-file RET /path/to/clone/vcomplete-VERSION.tar RET


Enable ‘vcomplete-mode’:


For use-package users:

(use-package vcomplete

When vcomplete-mode is active:
- The completion list buffer opens and updates automatically (see
- The completion list buffer can be controlled through the
  minibuffer (during minibuffer completion) or the current buffer
  (during in-buffer completion), if it's visible.
- The currently selected completion is highlighted in the completion
  list buffer.

C-n moves point to the next completion.

C-p moves point to the previous completion.

M-RET (C-M-m) chooses the completion at point.

More commands can be added through ‘vcomplete-command-map’:

(define-key vcomplete-command-map (kbd "C-a") #'my-command)

You can customize ‘vcomplete-mode’ using the customize interface:

M-x customize-group RET vcomplete RET

For more information see the (Vcomplete) info node.


Copyright © 2021-2022 Daniel Semyonov <daniel@dsemy.com>
Licensed under GPLv3 or later.