completion/ivy: don't ignore order in file search

This commit is contained in:
Henrik Lissner 2019-07-02 13:12:04 +02:00
parent 275f499ce9
commit 9a8faf1df3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -47,8 +47,14 @@ immediately runs it on the current candidate (ending the ivy session)."
:defer 1 :defer 1
:after-call pre-command-hook :after-call pre-command-hook
:init :init
;; Ignore order for non-fuzzy searches by default (setq ivy-re-builders-alist
(setq ivy-re-builders-alist '((t . ivy--regex-ignore-order))) '((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 :config
(setq ivy-height 15 (setq ivy-height 15
ivy-wrap t ivy-wrap t