summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-11 05:07:01 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-11 05:07:01 +0200
commit4b179fa0f4f2fa4b7c9ee51b16767e85b45f5bec (patch)
tree36821c888317633c8597383d3373d6482b4e9c92 /.config/emacs
parent53576ef279e3212c6e3cadbc8a200d4f519856c1 (diff)
emacs: Add missing ‘orderless’ configuration
For some reason this code block was just… missing. I must have accidentally deleted it before the genesis commit.
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/config.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index da3118e..479d90e 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -737,6 +737,16 @@ candidate filtering. I personally prefer to use the ~orderless-prefixes~
completion style where entering the string “foo bar baz” will match the options
that have components beginning with /foo/, /bar/, and /baz/ in that order.
+#+BEGIN_SRC elisp
+
+ (use-package orderless
+ :custom
+ (completion-styles '(orderless basic))
+ (orderless-matching-styles '(orderless-prefixes))
+ (completion-category-overrides '((file (styles basic partial-completion)))))
+
+#+END_SRC
+
*** Company
Company is a package to give me actual completion popups; it’s super useful for