From 635054aa4ad02526c4f3e48970bd45d0f2cdc087 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 3 Jan 2025 17:28:46 +0100 Subject: [PATCH] Replace `company` by `corfu` I haven't really used `company` in the recent past, so removing this package does not hurt much. Maybe `corfu` will be more practical for me, as it also only relies on builtin in-buffer completion and does not require additional magic. However, I usually do not use popup completion dialogs much, because I find them obstructive. --- init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 1cc7389..e3c9f91 100644 --- a/init.el +++ b/init.el @@ -2216,10 +2216,6 @@ Note that this workaround is incomplete, as explained in this comment." recentf-save-file (expand-file-name "recentf" emacs-d-userdata)) :config (run-with-timer 0 3600 #'recentf-save-list)) -(use-package company - :commands (company-mode) - :init (setq company-show-quick-access t)) - (use-package marginalia :ensure t :commands (marginalia-mode) @@ -2257,6 +2253,9 @@ Note that this workaround is incomplete, as explained in this comment." consult-preview-key nil)) :config (require 'consult-imenu)) +(use-package corfu + :commands (global-corfu-mode corfu-mode)) + ;; * Navigation