From 5ef44c23bf9c2090e00a51d976b06176c1e63cd7 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 12 Apr 2021 03:49:37 +0100 Subject: completion category overrides (file /) --- completion.org | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'completion.org') diff --git a/completion.org b/completion.org index 954ea30..852ca37 100644 --- a/completion.org +++ b/completion.org @@ -1,4 +1,4 @@ -#+title: Completion configuration using selectrum, consult and friends +#+title: Completion configuration using vertico, consult and friends * company #+begin_src emacs-lisp @@ -84,9 +84,9 @@ :init (setq completion--styles '(partial-completion emacs22 initials) completion-category-defaults nil - ;; (completion-category-overrides - ;; '((file (styles . (partial-completion))))) - ;; completion-cycle-threshold 3 + completion-category-overrides + '((file (styles . (partial-completion))) ; path expansion on / + (recoll-result . (partial-completion emacs22 initials))) orderless-skip-highlighting t orderless-component-separator "[ -/]+" orderless-matching-styles @@ -232,7 +232,9 @@ (use-package embark :ensure t :custom ((embark-quit-after-action nil) - (prefix-help-command #'embark-prefix-help-command)) + (prefix-help-command #'describe-prefix-bindings + ;; #'embark-prefix-help-command + )) :bind (("C-;" . embark-act) ("C-'" . embark-default-action) (:map minibuffer-local-map -- cgit v1.2.3