Compare commits

..

2 Commits

Author SHA1 Message Date
KJ
b6dc907ad8 Fix corfu binding. 2024-09-10 11:32:45 -04:00
KJ
7d145f6200 Add some corfu tweaks. 2024-09-10 11:31:57 -04:00

View File

@ -22,9 +22,9 @@
:hook ((elpaca-after-init . global-corfu-mode)
(corfu-mode . corfu-popupinfo-mode))
:bind (:map corfu-map
("<tab>" . corfu-quit)
(("<tab>" . corfu-quit)
("<escape>" . corfu-quit)
("<SPC>" . corfu-insert-separator))
("<SPC>" . coruf-insert-separator)))
:custom
(corfu-auto t)
:config
@ -34,6 +34,12 @@
corfu-cycle t
corfu-preview-current nil
corfu-quit-no-match t)
(when (< emacs-major-version 29)
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-silent)
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify))
(corfu-history-mode 1)
(savehist-mode 1)
(add-to-list 'savehist-additional-variables 'corfu-history)
)
;; Cambia la forma de mostrar y buscar sugerencias (afecta a corfu, pero también a otros como vertico).