Add all-the-icons on combination with neotree | esthetic directory
This commit is contained in:
parent
7ae797d197
commit
6da61c1dcd
@ -12,7 +12,7 @@
|
|||||||
'(ecb-options-version "2.50")
|
'(ecb-options-version "2.50")
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(neotree emmet-mode ecb undo-tree pip-requirements jedi highlight-indent-guides yaml-mode whitespace-cleanup-mode sublime-themes sml-modeline smarty-mode smart-mode-line-powerline-theme scss-mode sass-mode rainbow-mode prettier-js pkgbuild-mode pcre2el nlinum markdown-mode less-css-mode flycheck editorconfig anzu ac-php))))
|
(all-the-icons neotree emmet-mode ecb undo-tree pip-requirements jedi highlight-indent-guides yaml-mode whitespace-cleanup-mode sublime-themes sml-modeline smarty-mode smart-mode-line-powerline-theme scss-mode sass-mode rainbow-mode prettier-js pkgbuild-mode pcre2el nlinum markdown-mode less-css-mode flycheck editorconfig anzu ac-php))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
1
init.el
1
init.el
@ -37,6 +37,7 @@
|
|||||||
(require 'init-ecb)
|
(require 'init-ecb)
|
||||||
(require 'init-modeline)
|
(require 'init-modeline)
|
||||||
(require 'init-indent-guides)
|
(require 'init-indent-guides)
|
||||||
|
(require 'init-icons)
|
||||||
(require 'init-neotree)
|
(require 'init-neotree)
|
||||||
;; Tools
|
;; Tools
|
||||||
(require 'init-flycheck)
|
(require 'init-flycheck)
|
||||||
|
17
lisp/init-icons.el
Normal file
17
lisp/init-icons.el
Normal file
@ -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)
|
@ -12,6 +12,6 @@
|
|||||||
;;---------------------------------------------------------
|
;;---------------------------------------------------------
|
||||||
;; Custom icons - Require of all-the-icons
|
;; Custom icons - Require of all-the-icons
|
||||||
;;---------------------------------------------------------
|
;;---------------------------------------------------------
|
||||||
;; (setq neo-theme (if (display-graphic-p) 'icons 'arrow))
|
(setq neo-theme (if (display-graphic-p) 'icons 'arrow))
|
||||||
|
|
||||||
(provide 'init-neotree)
|
(provide 'init-neotree)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user