summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-10-01 17:49:24 +0100
committerBlake Romero <blake@blkrom.com>2025-10-01 17:49:24 +0100
commit45de1683b72f565a3a1aadae8ffefebe7abcbded (patch)
tree0984926dea42acfdf006daa596003e1f340f07a7
parent4a3376e4aa36bcb58a9e27c9a261327bf3e94ec8 (diff)
Add Corfu package
-rw-r--r--emacs-config.org17
1 files changed, 17 insertions, 0 deletions
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
+