diff options
| -rw-r--r-- | completion.org | 23 | 
1 files changed, 12 insertions, 11 deletions
| diff --git a/completion.org b/completion.org index eb3b52b..8912e06 100644 --- a/completion.org +++ b/completion.org @@ -66,18 +66,19 @@    #+begin_src emacs-lisp      (use-package vertico        :ensure t -      :init (setq vertico-count 20 -                  vertico-cycle t -                  vertico-group-format nil -                  org-refile-use-outline-path t) - -      :config -      ;; (defun jao--be-orderless (&rest _any) -      ;;   (setq-local completion-styles '(orderless))) -      ;; (unless (eq completion-styles '(orderless)) -      ;;   (advice-add 'vertico--setup :before #'jao--be-orderless)) +      :init +      (setq vertico-count 20 +            vertico-cycle t +            vertico-group-format nil +            org-refile-use-outline-path t) +      (vertico-mode 1) +      :bind (:map vertico-map (("TAB" . #'vertico-next) +                               ("<backtab>" . #'vertico-previous) +                               ("C-SPC" . #'vertico-insert)))) + +    (setq read-extended-command-predicate +          #'command-completion-default-include-p) -      (vertico-mode))    #+end_src  * marginalia    #+begin_src emacs-lisp | 
