summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-04-12 03:49:37 +0100
committerjao <jao@gnu.org>2021-04-12 03:49:55 +0100
commit5ef44c23bf9c2090e00a51d976b06176c1e63cd7 (patch)
treecc3aaea1ddd1e54e3da4d05ce5c524888553b543
parent21d52e5271490866eda6aa4cd735e9f3bb3d5d62 (diff)
downloadelibs-5ef44c23bf9c2090e00a51d976b06176c1e63cd7.tar.gz
elibs-5ef44c23bf9c2090e00a51d976b06176c1e63cd7.tar.bz2
completion category overrides (file /)
-rw-r--r--completion.org12
1 files changed, 7 insertions, 5 deletions
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