diff options
Diffstat (limited to 'completion.org')
-rw-r--r-- | completion.org | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/completion.org b/completion.org index b3b5964..5fb95ad 100644 --- a/completion.org +++ b/completion.org @@ -7,7 +7,7 @@ (use-package emacs :init (setq completion-category-defaults nil - completion-cycle-threshold 3 + completion-cycle-threshold nil completion-category-overrides '((file (styles . (partial-completion)))))) #+end_src @@ -35,13 +35,23 @@ (use-package corfu :ensure t :init (setq corfu-cycle t + corfu-count 10 + corfu-no-match (propertize "ยทยทยท" 'face 'bold) + corfu-auto t corfu-min-width 20 - corfu-max-width 100) + corfu-max-width 100 + corfu-excluded-modes '(eshell-mode)) :bind (:map corfu-map ("TAB" . corfu-next) ("S-TAB" . corfu-previous))) (corfu-global-mode 1) + + (with-eval-after-load "eshell" + (defun jao-corfu-eshell () + (setq-local corfu-auto nil) + (corfu-mode 1)) + (add-hook 'eshell-mode-hook #'jao-corfu-eshell)) #+end_src * vertico #+begin_src emacs-lisp |