(provide 'eos-ivy)
I’m still experimenting with Ivy, so this might not be as full-featured as my helm setup.
(use-package ivy
:ensure t
:demand t
:diminish (ivy-mode . "")
:bind
(("C-M-z" . ivy-resume)
("C-x C-r" . ivy-switch-buffer)
("C-x o" . swiper)
:init
(ivy-mode 1)
:config
(bind-key "C-s" 'swiper)
;; add ‘recentf-mode’ and bookmarks to ‘ivy-switch-buffer’.
(setq ivy-use-virtual-buffers t)
;; number of result lines to display
;; (setq ivy-height 10)
;; does not count candidates
(setq ivy-count-format "%d/%d ")
;; no regexp by default
;; (setq ivy-initial-inputs-alist nil)
;; configure regexp engine.
;; (setq ivy-re-builders-alist
;; ;; allow input not in order
;; '((t . ivy--regex-ignore-order)))
;; included out of the box with ivy
(use-package counsel-ag)
(use-package counsel-projectile
:ensure t
:init
(counsel-projectile-on)))