Table of Contents
Display icons for all buffers in ivy.
This package is extracted from Centaur Emacs and leverages ivy-rich and all-the-icons.
From melpa, M-x package-install RET all-the-icons-ivy-rich RET
.
(all-the-icons-ivy-rich-mode 1)
(ivy-rich-mode 1)
(use-package all-the-icons-ivy-rich
:ensure t
:init (all-the-icons-ivy-rich-mode 1))
(use-package ivy-rich
:ensure t
:init (ivy-rich-mode 1))
NOTE:
all-the-icons-ivy-rich-mode
depends on ivy-rich and respectsivy-rich-mode
.- To display icons correctly, you should run
M-x all-the-icons-install-fonts
to install the necessary fonts. - For better performance, enable
all-the-icons-ivy-rich-mode
beforeivy-rich-mode
. - Enable other packages like
counsel-projectile
before enablingall-the-icons-ivy-rich-mode
.
Enjoy! 😄
;; The icon size
(setq all-the-icons-ivy-rich-icon-size 1.0)
;; Definitions for ivy-rich transformers.
;; See `ivy-rich-display-transformers-list' for details."
all-the-icons-ivy-rich-display-transformers-list
;; Slow Rendering
;; If you experience a slow down in performance when rendering multiple icons simultaneously,
;; you can try setting the following variable
(setq inhibit-compacting-font-caches t)
If you think the it's helpful for you, please consider paying a cup of coffee for me. Thank you! 😄