asok / all-the-icons-ivy

all-the-icons.el for Ivy/Counsel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Ivy/Counsel integration for all-the-icons.el

screenshot_0.png

Installation

Melpa

Once you have setup 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 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.

About

all-the-icons.el for Ivy/Counsel


Languages

Language:Emacs Lisp 100.0%