ivy: ignore substring order and don't prefill ^
This commit is contained in:
parent
5a9b0d43cc
commit
e874687d19
1 changed files with 8 additions and 0 deletions
8
init.el
8
init.el
|
@ -163,6 +163,14 @@
|
||||||
(ivy-mode 1)
|
(ivy-mode 1)
|
||||||
(diminish 'ivy-mode)
|
(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
|
;; counsel for ivy-powered alternatives
|
||||||
(straight-use-package 'counsel)
|
(straight-use-package 'counsel)
|
||||||
(counsel-mode 1)
|
(counsel-mode 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue