[compleseus] tuned completion-style and added support for M-:
This commit is contained in:
parent
a911c9fe4d
commit
76841d87fc
1 changed files with 5 additions and 4 deletions
|
@ -257,9 +257,7 @@
|
|||
(defun compleseus/init-orderless ()
|
||||
(use-package orderless)
|
||||
:init
|
||||
(setq completion-styles '(orderless)
|
||||
;; for ssh completion
|
||||
completion-category-overrides '((file (styles basic partial-completion)))
|
||||
(setq completion-styles '(basic partial-completion orderless)
|
||||
completion-category-defaults nil
|
||||
completion-category-overrides '((file (styles . (partial-completion))))))
|
||||
|
||||
|
@ -296,6 +294,10 @@
|
|||
;; Enable recursive minibuffers
|
||||
(setq enable-recursive-minibuffers t)
|
||||
|
||||
;; when vertico is used set this so tab when doing M-: will show suggestions
|
||||
;; https://github.com/minad/vertico/issues/24
|
||||
(setq completion-in-region-function #'consult-completion-in-region)
|
||||
|
||||
;; Optionally enable cycling for `vertico-next' and `vertico-previous'.
|
||||
;; (setq vertico-cycle t)
|
||||
(vertico-mode)
|
||||
|
@ -320,7 +322,6 @@
|
|||
"rl" 'vertico-repeat
|
||||
"sl" 'vertico-repeat)))
|
||||
|
||||
|
||||
(defun spacemacs/compleseus-wgrep-change-to-wgrep-mode ()
|
||||
(interactive)
|
||||
(wgrep-change-to-wgrep-mode)
|
||||
|
|
Reference in a new issue