completion/ivy: don't ignore order in file search
This commit is contained in:
parent
275f499ce9
commit
9a8faf1df3
1 changed files with 8 additions and 2 deletions
|
@ -47,8 +47,14 @@ immediately runs it on the current candidate (ending the ivy session)."
|
|||
:defer 1
|
||||
:after-call pre-command-hook
|
||||
:init
|
||||
;; Ignore order for non-fuzzy searches by default
|
||||
(setq ivy-re-builders-alist '((t . ivy--regex-ignore-order)))
|
||||
(setq ivy-re-builders-alist
|
||||
'((counsel-ag . ivy--regex-plus)
|
||||
(counsel-rg . ivy--regex-plus)
|
||||
(counsel-grep . ivy--regex-plus)
|
||||
(swiper . ivy--regex-plus)
|
||||
(swiper-isearch . ivy--regex-plus)
|
||||
;; Ignore order for non-fuzzy searches by default
|
||||
(t . ivy--regex-ignore-order)))
|
||||
:config
|
||||
(setq ivy-height 15
|
||||
ivy-wrap t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue