To install this package from Emacs, use package-install
or list-packages
.
vertico-posframe is an vertico extension, which lets vertico use posframe to show its candidate menu.
NOTE: vertico-posframe requires Emacs 26 and do not support mouse click.
(require 'vertico-posframe) (vertico-posframe-mode 1)
(setq vertico-multiform-commands '((consult-line posframe (vertico-posframe-poshandler . posframe-poshandler-frame-top-center) (vertico-posframe-border-width . 10) ;; NOTE: This is useful when emacs is used in both in X and ;; terminal, for posframe do not work well in terminal, so ;; vertico-buffer-mode will be used as fallback at the ;; moment. (vertico-posframe-fallback-mode . vertico-buffer-mode)) (t posframe))) (vertico-multiform-mode 1)
NOTE: vertico-posframe-mode will be activated/deactivated by vertico-multiform-mode dynamically when you add 'posframe' setting to vertico-multiform-commands, please do not enable vertico-posframe-mode globally at the moment.
(setq vertico-multiform-commands '((consult-line (:not posframe)) (t posframe)))
(setq vertico-posframe-parameters '((left-fringe . 8) (right-fringe . 8)))
By the way, User can set any parameters of vertico-posframe with the help of `vertico-posframe-parameters'.
vertico-posframe-0.7.6.tar.lz | 2024-Jan-03 | 15.0 KiB |
vertico-posframe-0.7.5.tar.lz | 2023-Nov-21 | 14.9 KiB |
vertico-posframe-0.7.4.tar.lz | 2023-Nov-16 | 14.9 KiB |
vertico-posframe-0.7.3.tar.lz | 2023-Aug-18 | 14.9 KiB |
vertico-posframe-0.7.2.tar.lz | 2023-Feb-22 | 14.9 KiB |
vertico-posframe-0.7.1.tar.lz | 2023-Feb-21 | 15.0 KiB |
vertico-posframe-0.7.0.tar.lz | 2023-Feb-20 | 15.0 KiB |
vertico-posframe-0.6.0.tar.lz | 2022-Dec-20 | 14.7 KiB |
vertico-posframe-0.5.9.tar.lz | 2022-Dec-19 | 14.4 KiB |
vertico-posframe-0.5.5.tar.lz | 2022-Nov-30 | 14.3 KiB |
vertico-posframe-0.5.4.tar.lz | 2022-Apr-15 | 14.1 KiB |
vertico-posframe-0.5.3.tar.lz | 2022-Mar-21 | 14.1 KiB |
vertico-posframe-0.5.2.tar.lz | 2022-Jan-30 | 14.1 KiB |
vertico-posframe-0.5.1.tar.lz | 2022-Jan-12 | 14.0 KiB |
vertico-posframe-0.5.0.tar.lz | 2022-Jan-10 | 13.9 KiB |
vertico-posframe-0.4.9.tar.lz | 2022-Jan-10 | 13.9 KiB |
vertico-posframe-0.4.1.tar.lz | 2021-Nov-05 | 14.5 KiB |
vertico-posframe-0.3.10.tar.lz | 2021-Nov-04 | 14.5 KiB |
vertico-posframe-0.3.3.tar.lz | 2021-Oct-28 | 13.8 KiB |
vertico-posframe-0.2.0.tar.lz | 2021-Oct-27 | 13.6 KiB |