Added some solarized options, neotree, etc.
This commit is contained in:
parent
4842a33192
commit
d64f9fe38f
18
emacs
18
emacs
@ -17,7 +17,7 @@
|
||||
("3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "c74e83f8aa4c78a121b52146eadb792c9facc5b1f02c917e3dbb454fca931223" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default)))
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(neotree smart-mode-line powerline magit use-package helm evil-visual-mark-mode))))
|
||||
(color-theme-solarized neotree smart-mode-line powerline magit use-package helm evil-visual-mark-mode))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
@ -32,6 +32,7 @@
|
||||
)
|
||||
(use-package magit)
|
||||
|
||||
(load-theme 'solarized t)
|
||||
(use-package smart-mode-line
|
||||
:ensure t
|
||||
:config
|
||||
@ -47,7 +48,22 @@
|
||||
:ensure t
|
||||
:config
|
||||
(global-set-key [f8] 'neotree-toggle)
|
||||
(setq neo-smart-open t)
|
||||
)
|
||||
;; Set Powerline Configuration
|
||||
(setq powerline-arrow-shape 'curve)
|
||||
(setq powerline-default-separator-dir '(right . left))
|
||||
|
||||
;; rebind neotree in evil-mode
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "SPC") 'neotree-enter)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "q") 'neotree-hide)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "RET") 'neotree-enter)
|
||||
|
||||
(set-terminal-parameter nil 'background-mode 'dark)
|
||||
(add-hook 'after-make-frame-functions
|
||||
(lambda (frame)
|
||||
(let ((mode (if (display-graphic-p frame) 'light 'dark)))
|
||||
(set-frame-parameter frame 'background-mode mode)
|
||||
(set-terminal-parameter frame 'background-mode mode))
|
||||
(enable-theme 'solarized)))
|
Loading…
Reference in New Issue
Block a user