emacs.d/config/ido.el

18 lines
419 B
EmacsLisp
Raw Permalink Normal View History

2021-02-07 16:58:53 +00:00
(use-package flx)
(use-package counsel ;; counsel brings in ivy and swiper as dependencies
;; needed for ivy--regex-fuzzy
:after flx
:diminish ivy-mode
:init
;; use fuzzy matching by default. Needs flx.
(setq ivy-re-builders-alist '((t . ivy--regex-fuzzy)))
:config
(setq ivy-use-virtual-buffers t)
(setq ivy-count-format "(%d/%d) ")
(ivy-mode 1)
:bind
([ remap isearch-forward ] . 'swiper))