Adjust corfu initialisation

This commit is contained in:
Evie Litherland-Smith 2023-12-22 07:15:36 +00:00
parent 5e580a6a77
commit f4ef3767e6

View file

@ -837,11 +837,10 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(corfu-quit-no-match 'separator) (corfu-quit-no-match 'separator)
(corfu-quit-at-boundary 'separator) (corfu-quit-at-boundary 'separator)
(corfu-preselect 'directory) (corfu-preselect 'directory)
:bind ( :map corfu-map
("RET" . nil))
:init :init
(global-corfu-mode +1) (global-corfu-mode +1)
:config :config
(keymap-set corfu-map "RET" nil)
(when (require 'corfu-popupinfo nil :noerror) (when (require 'corfu-popupinfo nil :noerror)
(corfu-popupinfo-mode +1) (corfu-popupinfo-mode +1)
(keymap-set corfu-map "M-p" #'corfu-popupinfo-scroll-down) (keymap-set corfu-map "M-p" #'corfu-popupinfo-scroll-down)