blob: 63f75fc929716f5ef8639100fcb8afcfd2204857 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
;; ivy uses flx sorting if it's installed
(use-package flx)
(use-package ivy
:after flx
:diminish ivy-mode
:commands ivy-mode
:init
;; use fuzzy matching by default
(setq ivy-re-builders-alist
'((t . ivy--regex-fuzzy)))
:bind (:map ivy-minibuffer-map
;; C-r selects previous candidate, like isearch
("C-r" . ivy-previous-line-or-history))
:config
(ivy-mode 1))
(provide 'init-ivy)
|