all-the-icons-ivy
all-the-icons-ivy copied to clipboard
all-the-icons.el for Ivy/Counsel
-
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:
#+BEGIN_SRC elisp (all-the-icons-ivy-setup) #+END_SRC
or using [[https://github.com/jwiegley/use-package][Use-package]]:
#+BEGIN_SRC elisp (use-package all-the-icons-ivy :init (add-hook 'after-init-hook 'all-the-icons-ivy-setup)) #+END_SRC
** Manual
Clone this repo and:
#+BEGIN_SRC elisp (add-to-load-path "/path/to/repo") (all-the-icons-ivy-setup) #+END_SRC
-
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: #+BEGIN_SRC elisp (setq all-the-icons-ivy-buffer-commands '()) #+END_SRC
or to iconify more file commands #+BEGIN_SRC elisp (setq all-the-icons-ivy-file-commands '(counsel-find-file counsel-file-jump counsel-recentf counsel-projectile-find-file counsel-projectile-find-dir)) #+END_SRC
-
Contribution
If you think that some other ivy/counsel commands could be decorated with the icons feel free to open an issue.