diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-03-25 02:54:07 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-03-25 02:54:07 -0700 |
commit | ea1c607a0072b1811a0060f7cc1f0f6864e2b4ac (patch) | |
tree | 4aefa360c1905554e96a15cab72127b45fb4242a /home/.emacs.d/config/neotree.el | |
parent | 5b015e6e20903c9fc1c79c7b2a343f8591c51ac1 (diff) | |
download | dotfiles-ea1c607a0072b1811a0060f7cc1f0f6864e2b4ac.tar.gz dotfiles-ea1c607a0072b1811a0060f7cc1f0f6864e2b4ac.tar.bz2 dotfiles-ea1c607a0072b1811a0060f7cc1f0f6864e2b4ac.zip |
use-package
Diffstat (limited to 'home/.emacs.d/config/neotree.el')
-rw-r--r-- | home/.emacs.d/config/neotree.el | 32 |
1 files changed, 12 insertions, 20 deletions
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 (("<f8>" . neotree-toggle))) |