Change a bit the orderless config.

This commit is contained in:
KJ 2024-09-12 22:51:24 -04:00
parent c97b3a974e
commit 4733bb46ac

View File

@ -44,10 +44,25 @@
;; Cambia la forma de mostrar y buscar sugerencias (afecta a corfu, pero también a otros como vertico).
(use-package orderless
:defer t
:init
(setq completion-styles '(flex orderless basic)
completion-category-overrides '((file (styles partial-completion)))))
:custom
(completion-styles '(orderless)) ; Use orderless
(completion-category-defaults nil) ; I want to be in control!
(completion-category-overrides
'((file (styles basic-remote ; For `tramp' hostname completion with `vertico'
orderless))))
(orderless-matching-styles
'(orderless-literal
orderless-prefixes
orderless-initialism
orderless-regexp
orderless-flex ; Basically fuzzy finding
;; orderless-strict-leading-initialism
;; orderless-strict-initialism
;; orderless-strict-full-initialism
;; orderless-without-literal ; Recommended for dispatches instead
))
)
;; Set de funciones de para las sugerencias de corfu.
(use-package cape