Use basic completion before orderless

Using orderless by default get's in the way of “usual” code completion
and shell completion, where prefix completion is the expected
behavior (for me).  So let's try to use basic completion first, and try
to rely on orderless completion to kick in as soon as spaces are
involved (which should not happen for shell and code completion).

The completion colors should also help to see whether we are still using
basic completion or orderless completion.  Let's try this for now.
This commit is contained in:
Daniel - 2024-03-11 17:22:51 +01:00
parent a4bae1d96e
commit 85338cc8f5
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 1 deletions

View File

@ -2087,7 +2087,7 @@ Note that this workaround is incomplete, as explained in this comment."
extended-command-suggest-shorter t
completions-detailed t
completion-cycle-threshold nil
completion-styles '(orderless basic)
completion-styles '(basic orderless)
completion-category-defaults nil
;; Via https://protesilaos.com/emacs/dotemacs, with additional changes
completion-category-overrides '((file (styles . (basic partial-completion orderless)))