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).
This commit is contained in:
parent
a4bae1d96e
commit
529fc8ef78
2
init.el
2
init.el
@ -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)))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user