aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-ivy.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-17 21:43:23 +0800
committerGuangxiong Lin <[email protected]>2022-03-17 21:43:23 +0800
commit919fbc2561a19c676f759f328f43713968cfd25b (patch)
treeb8e4b0b484ab3cd00c25ad17e436d9a17405d013 /.emacs.d/lisp/init-ivy.el
parent185437a98511e7388d5f1abf9f000e7f8eb00f10 (diff)
downloaddotfiles-919fbc2561a19c676f759f328f43713968cfd25b.tar.gz
dotfiles-919fbc2561a19c676f759f328f43713968cfd25b.tar.bz2
dotfiles-919fbc2561a19c676f759f328f43713968cfd25b.zip
Update ivy regex (emacs)
Diffstat (limited to '.emacs.d/lisp/init-ivy.el')
-rw-r--r--.emacs.d/lisp/init-ivy.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-ivy.el b/.emacs.d/lisp/init-ivy.el
index 8b944ac..07731fa 100644
--- a/.emacs.d/lisp/init-ivy.el
+++ b/.emacs.d/lisp/init-ivy.el
@@ -17,7 +17,10 @@
(setq ivy-count-format "(%d/%d) ")
(setq ivy-initial-inputs-alist nil)
(setq ivy-re-builders-alist
- '((ivy-switch-buffer . ivy--regex-plus)
- (t . ivy--regex-fuzzy)))
+ '((t . ivy--regex-ignore-order)
+ (t . ivy--regex-fuzzy)
+ (t . ivy--regex-plus)
+ (t . regexp-quote)
+ (t . ivy-regex)))
(provide 'init-ivy)