Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/seagle0128/all-the-icons-ivy-rich

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/seagle0128/all-the-icons-ivy-rich

  • v1.9.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

all-the-icons-ivy-rich

Build Status Release Tag License MELPA MELPA Stable

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.

Install

Manual

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

(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:

  1. all-the-icons-ivy-rich-mode depends on ivy-rich and respects ivy-rich-mode.
  2. To display icons correctly, you should run M-x all-the-icons-install-fonts to install the necessary fonts.
  3. For better performance, enable all-the-icons-ivy-rich-mode before ivy-rich-mode .
  4. Enable other packages like counsel-projectile before enabling all-the-icons-ivy-rich-mode.

Enjoy! :smile:

Customize

;; Whether display the icons
(setq all-the-icons-ivy-rich-icon t)

;; Whether display the colorful icons.
;; It respects `all-the-icons-color-icons'.
(setq all-the-icons-ivy-rich-color-icon t)

;; The icon size
(setq all-the-icons-ivy-rich-icon-size 1.0)

;; Whether support project root
(setq all-the-icons-ivy-rich-project t)

;; Maximum truncation width of annotation fields.
;; This value is adjusted depending on the `window-width'.
(setq all-the-icons-ivy-rich-field-width 80)

;; 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)

In counsel-describe-function, counsel-describe-variableand counsel-describe-symbol, the symbol classes will be displayed. The details are below.

FunctionVariableOther
f functionu custom (U modified compared to global value)a face
c cooamdv variablet cl-type
C interactive-only commandl local (L modified compared to default value)
m macto- obsolete
M special form
g cl-generic
p pure
s side-effect-free
@ autoloaded
! advised

Screenshots

ivy-switch-buffer

counsel-find-file

counsel-buffer-or-recentf

counsel-M-x

counsel-describe-function

counsel-describe-variable

counsel-imenu

counsel-bookmark

And more...

Donate

If you think the it's helpful for you, please consider paying a cup of coffee for me. Thank you! :smile:

Alipay      Wechat Pay

PayPal      Buy Me A Coffee

FAQs

Package last updated on 14 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc