diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-04-15 15:44:19 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-04-15 15:44:19 +0200 |
| commit | 6aeba7c285f34bcbcc191a17e605686b3bbe662f (patch) | |
| tree | 116da11414472dfa36c7adb9dd73dbaf06ad1788 /config | |
| parent | a2abcd64fdfebc9385acec83793d9d35854661bc (diff) | |
Improve Autocomplet Experience
Tab now does what I expect, and different completion styles.
Diffstat (limited to 'config')
| -rw-r--r-- | config/emacs/init.el | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index ce8b5e6..44b4025 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -83,7 +83,6 @@ (create-lockfiles nil) (tab-width 4) (tab-always-indent 'complete) - (completion-styles '(basic initials substring)) (auto-revert-avoid-polling t) (remote-file-name-inhibit-locks t) (major-mode-remap-alist @@ -199,6 +198,13 @@ :config (marginalia-mode +1)) +(use-package orderless + :ensure t + :custom + (completion-styles '(orderless basic)) + (completion-category-overrides '((file (styles partial-completion)))) + (completion-category-defaults nil)) + (use-package undo-tree :ensure t :custom @@ -215,6 +221,10 @@ (use-package vertico :ensure t + :defer nil + :bind (:map vertico-map + ("TAB" . minibuffer-complete) + ("C-<tab>" . vertico-insert)) :config (vertico-mode +1)) |
