This package is inspired by all-the-icons. is a utility for using and formatting various icon fonts within Emacs. Icon Fonts allow you to propertize and format icons the same way you would normal text. This enables things such as better scaling of and anti aliasing of the icons.
- Install fonts
Refer to icons-in-terminal.
git clone https://github.com/sebastiencs/icons-in-terminal.git
cd icons-in-terminal
./install.sh
./print_icons.sh
- Install elisp
git clone https://github.com/seagle0128/icons-in-terminal.el
Add the path to load-path
, then
(require 'icons-in-terminal)
The interfaces are same as all-the-icons
.
For example:
(icons-in-terminal-insert)
(icons-in-terminal-insert-faicon)
(icons-in-terminal-faicon "book")
(icons-in-terminal-icon-for-buffer)
(icons-in-terminal-icon-for-mode 'emacs-lisp-mode)
(icons-in-terminal-icon-for-file "template.el")