From 4b179fa0f4f2fa4b7c9ee51b16767e85b45f5bec Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 11 Aug 2023 05:07:01 +0200 Subject: emacs: Add missing ‘orderless’ configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason this code block was just… missing. I must have accidentally deleted it before the genesis commit. --- .config/emacs/config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.config/emacs/config.org') 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 -- cgit v1.2.3