mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
enable simple fuzzy matching in ivy
This commit is contained in:
@@ -138,8 +138,6 @@
|
|||||||
(counsel-grep . ivy--regex-plus)
|
(counsel-grep . ivy--regex-plus)
|
||||||
(swiper . ivy--regex-plus)
|
(swiper . ivy--regex-plus)
|
||||||
(swiper-isearch . 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
|
||||||
@@ -157,7 +155,9 @@
|
|||||||
; don't quit minibuffer on delete-error
|
; don't quit minibuffer on delete-error
|
||||||
ivy-on-del-error-function nil
|
ivy-on-del-error-function nil
|
||||||
; enable ability to select prompt (alternative to `ivy-immediate-done')
|
; enable ability to select prompt (alternative to `ivy-immediate-done')
|
||||||
ivy-use-selectable-prompt t)
|
ivy-use-selectable-prompt t
|
||||||
|
; use fuzzy matching
|
||||||
|
ivy-re-builders-alist '((t . ivy--regex-fuzzy)))
|
||||||
(ivy-mode +1))
|
(ivy-mode +1))
|
||||||
|
|
||||||
(use-package ivy-rich
|
(use-package ivy-rich
|
||||||
@@ -166,13 +166,6 @@
|
|||||||
:config
|
:config
|
||||||
(ivy-rich-mode +1))
|
(ivy-rich-mode +1))
|
||||||
|
|
||||||
;(use-package flx
|
|
||||||
; :defer t ; is loaded by ivy
|
|
||||||
; :init
|
|
||||||
; (setf (alist-get 't ivy-re-builders-alist) #'ivy--regex-fuzzy)
|
|
||||||
; (setq ivy-initial-inputs-alist nil
|
|
||||||
; ivy-flx-limit 10000))
|
|
||||||
|
|
||||||
(use-package counsel
|
(use-package counsel
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user