From d6ceae3a00cff6e823fd99b433f01660c5784ce6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 28 Apr 2024 18:02:08 +0200 Subject: emacs: tweak completion candidate matching --- user/emacs/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/user/emacs/init.el b/user/emacs/init.el index b47e93ca..2cdc8dd0 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -249,7 +249,10 @@ With two prefix arguments, write out the day and month name." (use-package orderless :config (progn - (add-to-list 'completion-styles 'orderless))) + (add-to-list 'completion-styles 'orderless) + (setq orderless-matching-styles '(orderless-literal-prefix + orderless-prefixes + orderless-regexp)))) (use-package consult :general ([remap isearch-forward] #'consult-line -- cgit 1.4.1