Use fuzzy matching in ivy
This commit is contained in:
parent
b9e1581440
commit
d86f07a002
1 changed files with 4 additions and 3 deletions
7
02ivy.el
7
02ivy.el
|
|
@ -1,6 +1,7 @@
|
||||||
(setq-default ivy-use-virtual-buffers t
|
(setq-default ivy-use-virtual-buffers t ;; Display recent files in ivy-switch-buffer
|
||||||
ivy-count-format "(%d of %d) "
|
ivy-count-format "(%d of %d) " ;; Current candidate count style
|
||||||
ivy-display-style 'fancy)
|
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 a") 'counsel-ag)
|
||||||
(global-set-key (kbd "C-c b") 'ivy-switch-buffer)
|
(global-set-key (kbd "C-c b") 'ivy-switch-buffer)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue