From 6da61c1dcde65a9bc8904f5ee1ebaa591b90e4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 3 Oct 2018 17:40:45 -0500 Subject: Add all-the-icons on combination with neotree | esthetic directory --- lisp/init-icons.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lisp/init-icons.el (limited to 'lisp/init-icons.el') diff --git a/lisp/init-icons.el b/lisp/init-icons.el new file mode 100644 index 0000000..252c9a4 --- /dev/null +++ b/lisp/init-icons.el @@ -0,0 +1,17 @@ +;;---------------------------------- +;; All-the-icons +;;---------------------------------- +(require-package 'all-the-icons) + +;;---------------------------------- +;; Fonts - connecting with neotree +;;--------------------------------- +(if (file-exists-p "~/.local/share/fonts/all-the-icons.ttf") + (message "the icons are installed :)") + (setq neotree-mode-hook 'all-the-icons-install-fonts) + ) + +;; fix performace +(setq inhibit-compacting-font-caches t) + +(provide 'init-icons) -- cgit v1.2.3