From ea1c607a0072b1811a0060f7cc1f0f6864e2b4ac Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Fri, 25 Mar 2016 02:54:07 -0700 Subject: use-package --- home/.emacs.d/config/neotree.el | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'home/.emacs.d/config/neotree.el') diff --git a/home/.emacs.d/config/neotree.el b/home/.emacs.d/config/neotree.el index a113397..75382ed 100644 --- a/home/.emacs.d/config/neotree.el +++ b/home/.emacs.d/config/neotree.el @@ -1,20 +1,12 @@ -(require 'neotree) - -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(neo-banner-face ((t :inherit shadow)) t) - '(neo-button-face ((t :inherit dired-directory)) t) - '(neo-dir-link-face ((t :inherit dired-directory)) t) - '(neo-expand-btn-face ((t :inherit button)) t) - '(neo-file-link-face ((t :inherit default)) t) - '(neo-header-face ((t :inherit shadow)) t) - '(neo-root-dir-face ((t :inherit link-visited :underline nil)) t)) - -(setq neo-theme 'ascii) - -;(neotree) - -(global-set-key [f8] 'neotree-toggle) +(use-package neotree + :config (progn + (custom-set-faces + '(neo-banner-face ((t :inherit shadow)) t) + '(neo-button-face ((t :inherit dired-directory)) t) + '(neo-dir-link-face ((t :inherit dired-directory)) t) + '(neo-expand-btn-face ((t :inherit button)) t) + '(neo-file-link-face ((t :inherit default)) t) + '(neo-header-face ((t :inherit shadow)) t) + '(neo-root-dir-face ((t :inherit link-visited :underline nil)) t)) + (setq neo-theme 'ascii)) + :bind (("" . neotree-toggle))) -- cgit v1.2.3