From 9f4352006f7a07ad29cdcb1bd613cff5cddbb2ba Mon Sep 17 00:00:00 2001 From: Andrew Whatson Date: Wed, 29 May 2019 00:10:21 +1000 Subject: [PATCH] Increase ivy-flx-limit for improved fuzzy behavior The default setting of 200 is too low for common use-cases like `describe-function`, `describe-variable` or `counsel-projectile`. This has a performance impact, but it's barely noticeable on a fast machine. If performance is not acceptable, set `ivy-flx-limit` lower or consider disabling the `+fuzzy` feature entirely. --- modules/completion/ivy/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index 677c5a77e..ce3e192f6 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -305,7 +305,8 @@ immediately runs it on the current candidate (ending the ivy session)." (swiper . ivy--regex-plus) (swiper-isearch . ivy--regex-plus) (t . ivy--regex-fuzzy)) - ivy-initial-inputs-alist nil)) + ivy-initial-inputs-alist nil + ivy-flx-limit 10000)) (def-package! ivy-prescient