Skip to content

Extensions ​

We maintain small extension packages to Vertico in this repository in the subdirectory extensions/. The extensions are installed together with Vertico. The extensions are inactive by default and can be enabled manually if desired. Furthermore it is possible to install each of the files individually, vertico.el and the vertico-*.el extensions. Currently the following extensions come with the Vertico package:

See the commentary of those files for configuration details. With these extensions it is possible to adapt Vertico such that it matches your preference or behaves similar to other familiar UIs. For example, the combination ‘vertico-flat’ plus ‘vertico-directory’ resembles Ido in look and feel. For an interface similar to Helm, the extension ‘vertico-buffer’ allows you to configure freely where the completion buffer opens, instead of growing the minibuffer. Furthermore ‘vertico-buffer’ will adjust the number of displayed candidates according to the buffer height.

Configuration example for ‘vertico-directory’:

emacs-lisp
;; Configure directory extension.
(use-package vertico-directory
  :after vertico
  :ensure nil
  ;; More convenient directory navigation commands
  :bind (:map vertico-map
              ("RET" . vertico-directory-enter)
              ("DEL" . vertico-directory-delete-char)
              ("M-DEL" . vertico-directory-delete-word)))