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.
This commit is contained in:
Daniel Borchmann 2025-01-03 17:28:46 +01:00
parent beceb909fc
commit 635054aa4a
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -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)) recentf-save-file (expand-file-name "recentf" emacs-d-userdata))
:config (run-with-timer 0 3600 #'recentf-save-list)) :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 (use-package marginalia
:ensure t :ensure t
:commands (marginalia-mode) :commands (marginalia-mode)
@ -2257,6 +2253,9 @@ Note that this workaround is incomplete, as explained in this comment."
consult-preview-key nil)) consult-preview-key nil))
:config (require 'consult-imenu)) :config (require 'consult-imenu))
(use-package corfu
:commands (global-corfu-mode corfu-mode))
;; * Navigation ;; * Navigation