diff options
author | Guangxiong Lin <[email protected]> | 2022-03-20 00:51:20 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-20 00:51:20 +0800 |
commit | e4b65a6ea63c4043167c7ded7a8fe688d7780335 (patch) | |
tree | 6a349fb0b506012149e2986a6c66b29da46e68dd | |
parent | 1008c86a0ef38b9ee79ec14d2cc7993303d959e0 (diff) | |
download | dotfiles-e4b65a6ea63c4043167c7ded7a8fe688d7780335.tar.gz dotfiles-e4b65a6ea63c4043167c7ded7a8fe688d7780335.tar.bz2 dotfiles-e4b65a6ea63c4043167c7ded7a8fe688d7780335.zip |
Use orderless-flex (emacs)
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index 94dec41..bf38675 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -10,7 +10,6 @@ (setq completion-ignore-case t read-file-name-completion-ignore-case t read-buffer-completion-ignore-case t) - (with-eval-after-load 'vertico (define-key vertico-map (kbd "C-c j") 'vertico-quick-jump) (define-key vertico-map (kbd "C-c C-j") 'vertico-quick-jump) @@ -20,7 +19,7 @@ (lambda () (interactive) (vertico-previous (/ vertico-count 2))))) (when (gx/maybe-require-package 'orderless) - (setq orderless-matching-styles '(orderless-literal orderless-regexp)) + (setq orderless-matching-styles '(orderless-literal orderless-regexp orderless-flex)) (defun gx/orderless-without-if-bang (pattern _index _total) (cond |