Enable ivy-mode globally

This takes care of my outstanding TODO of understanding why something ivy was
being used and other times it wasn't. It turns out that there is a generic
`completing-read` function that many Emacs packages consume. `ivy-mode` ensures
that when that function is called it is used instead of the default Emacs
completing package.

I'm still unsure of the difference between ivy and counsel. My best guess
currently is that counsel is the narrowing framework and ivy is the integration
of the narrowing framework with `completing-read`. Swiper must be the
integration with incremental {forward,backward} search.
This commit is contained in:
William Carroll 2020-01-27 11:26:10 +00:00
parent 11d0a6c794
commit d1fdc9fa63

View file

@ -100,9 +100,9 @@
;; completion framework ;; completion framework
(use-package ivy (use-package ivy
;; TODO: Restore behavior where `counsel' is used everywhere.
:config :config
(counsel-mode t) (counsel-mode t)
(ivy-mode t)
(alist/set! #'counsel-M-x "" ivy-initial-inputs-alist) (alist/set! #'counsel-M-x "" ivy-initial-inputs-alist)
;; prefer using `helpful' variants ;; prefer using `helpful' variants
(progn (progn