Vertico Posframe

about | blog | config | notes | github

1. A Posframe for Vertico

This package lets you use Vertico in posframe mode. Currently has some issues with Marginalia so I've disabled it.

2. Configuration

2.1. Enable Dependencies

It shouldn't come a suprise that we need to setup Vertico first.

(require 'init-vertico)

2.2. Package Install

Now let's get on with install vertico-posframe. We need to install it directly from GitHub.

(use-package vertico-posframe
  :straight '(vertico-posframe
              :host github
              :repo "tumashu/vertico-posframe")
  ;; :init (vertico-posframe-mode 1)
)

2.3. Customize Appearance

Configure the min/max width of the posframe.

(setq vertico-posframe-min-width 140)
(setq vertico-posframe-width 140)

Configure the min/max height of the posframe.

(setq vertico-posframe-min-height 1)
(setq vertico-posframe-height 40)

Specify the border size of the posframe.

(setq vertico-posframe-border-width 4)

2.4. Feature Provide

(provide 'init-vertico-posframe)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)