From 45de1683b72f565a3a1aadae8ffefebe7abcbded Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 1 Oct 2025 17:49:24 +0100 Subject: Add Corfu package --- emacs-config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/emacs-config.org b/emacs-config.org index 5a693e6..34e13e5 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -1580,3 +1580,20 @@ Vertico provides a performant and minimalistic vertical completion UI based on t (vertico-mode)) #+end_src +** Corfu +https://github.com/minad/corfu + +Corfu enhances in-buffer completion with a small completion popup. The current candidates are shown in a popup below or above the point, and can be selected by moving up and down. + +#+begin_src elisp + (use-package corfu + :custom + (corfu-count 5) + (corfu-auto t) + :config + ;; Remove previous completion preview method + (remove-hook 'prog-mode-hook #'completion-preview-mode) + ;; Enable corfu mode + (global-corfu-mode)) +#+end_src + -- cgit