Description
[[https://github.com/abo-abo/swiper][Ivy/Counsel]] integration for [[https://github.com/domtronn/all-the-icons.el][all-the-icons.el]]
[[file:screenshot_0.png]]
Installation
** Melpa
Once you have setup [[https://melpa.org/#/getting-started][Melpa]] you can use ~package-install~ command to install the package. The package name is ~all-the-icons-ivy~. After that add to your config:
(all-the-icons-ivy-setup)
or using [[https://github.com/jwiegley/use-package][Use-package]]:
(use-package all-the-icons-ivy
:init (add-hook 'after-init-hook 'all-the-icons-ivy-setup))
** Manual
Clone this repo and:
(add-to-load-path "/path/to/repo") (all-the-icons-ivy-setup)
Customization
By default ~all-the-icons-ivy-setup~ iconifies only some commands, you can customize it by setting variables ~all-the-icons-ivy-buffer-commands~ and ~all-the-icons-ivy-file-commands~ before calling. E.g. if you don't want to add icons to buffer names:
(setq all-the-icons-ivy-buffer-commands '())
or to iconify more file commands
(setq all-the-icons-ivy-file-commands '(counsel-find-file counsel-file-jump counsel-recentf counsel-projectile-find-file counsel-projectile-find-dir))
Contribution
If you think that some other ivy/counsel commands could be decorated with the icons feel free to open an issue.