ivy: ignore substring order and don't prefill ^

This commit is contained in:
Grigory Shipunov 2020-11-14 22:12:15 +01:00
parent 5a9b0d43cc
commit e874687d19
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

View file

@ -163,6 +163,14 @@
(ivy-mode 1)
(diminish 'ivy-mode)
;; ignore substring order, except for swiper
(setq ivy-re-builders-alist
'((swiper . ivy--regex-plus)
(t . ivy--regex-ignore-order)))
;; do not use caret, quite often we want start typing from the middle
(eval-after-load 'counsel ;counsel modifies this var
(setq ivy-initial-inputs-alist nil))
;; counsel for ivy-powered alternatives
(straight-use-package 'counsel)
(counsel-mode 1)