feat(corfu): make <tab> execute complete

This commit is contained in:
Laurens Miers 2025-01-08 21:48:49 +01:00
parent 7252361ab1
commit c8fa26b07b

View file

@ -474,6 +474,9 @@ C-c C-c to apply."
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package corfu (use-package corfu
;; Optional customizations ;; Optional customizations
:bind (:map corfu-map ("<tab>" . corfu-complete))
:config
(setq tab-always-indent 'complete)
:custom :custom
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous' (corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
(corfu-auto t) ;; Enable auto completion (corfu-auto t) ;; Enable auto completion