1

Configure corfu-popupinfo

This commit is contained in:
Jessie Hildebrandt 2022-12-19 07:05:05 -05:00
parent 3628970d14
commit 5440032d97

11
init.el
View File

@ -870,14 +870,21 @@ DOCSTRING is an optional form that is discarded upon expansion."
(external-package corfu
"Enhances completion suggestions with a visible popup"
:config
:init
(global-corfu-mode)
:config
(corfu-popupinfo-mode)
:custom
(corfu-auto t "Automatically display popups wherever available")
(corfu-min-width 20 "Ensure completion popups are at least 20 columns wide")
(corfu-max-width 50 "Limit completion popup width to 50 columns")
(corfu-echo-documentation nil "Disable displaying documentation strings in the echo area"))
(corfu-popupinfo-hide nil "Don't hide doc popups while scrolling between candidates")
(corfu-popupinfo-delay 0.1 "Wait 0.1 seconds before showing a doc popup for a candidate")
(corfu-echo-documentation nil "Disable displaying documentation strings in the echo area")
:bind
(:map corfu-popupinfo-map
("M-n" . corfu-popupinfo-scroll-up)
("M-p" . corfu-popupinfo-scroll-down)))
;; ---------------------------------- ;;
;; corfu-terminal