From d86f07a002d10c377d78df4df9bcdd00975e5878 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Sun, 16 Sep 2018 09:09:48 +0300 Subject: [PATCH] Use fuzzy matching in ivy --- 02ivy.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/02ivy.el b/02ivy.el index bdee7d5..db75737 100644 --- a/02ivy.el +++ b/02ivy.el @@ -1,6 +1,7 @@ -(setq-default ivy-use-virtual-buffers t - ivy-count-format "(%d of %d) " - ivy-display-style 'fancy) +(setq-default ivy-use-virtual-buffers t ;; Display recent files in ivy-switch-buffer + ivy-count-format "(%d of %d) " ;; Current candidate count style + ivy-display-style 'fancy ;; Formatting style + ivy-re-builders-alist '((t . ivy--regex-fuzzy))) ;; Use fuzzy matching (global-set-key (kbd "C-c a") 'counsel-ag) (global-set-key (kbd "C-c b") 'ivy-switch-buffer)