4

GitHub - asok/all-the-icons-ivy: all-the-icons.el for Ivy/Counsel

 2 years ago
source link: https://github.com/asok/all-the-icons-ivy
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Description

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

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 Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK