Fixed neotree icon theme.
This commit is contained in:
parent
033cf8b73c
commit
331d59037f
38
init.el
38
init.el
|
@ -102,9 +102,6 @@
|
||||||
(setq custom-file (concat user-emacs-directory "custom.el"))
|
(setq custom-file (concat user-emacs-directory "custom.el"))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;; Next/Previous buffer
|
|
||||||
;; (global-set-key (kbd "C-c <left>") 'previous-buffer)
|
|
||||||
;; (global-set-key (kbd "C-c <right>") 'next-buffer)
|
|
||||||
;; Scroll in other window
|
;; Scroll in other window
|
||||||
(global-set-key (kbd "S-<prior>") 'scroll-other-window-down)
|
(global-set-key (kbd "S-<prior>") 'scroll-other-window-down)
|
||||||
(global-set-key (kbd "S-<next>") 'scroll-other-window)
|
(global-set-key (kbd "S-<next>") 'scroll-other-window)
|
||||||
|
@ -296,11 +293,12 @@
|
||||||
;; Theme
|
;; Theme
|
||||||
(unless slow-computer
|
(unless slow-computer
|
||||||
(use-package doom-themes
|
(use-package doom-themes
|
||||||
:after all-the-icons
|
:after (all-the-icons neotree)
|
||||||
:config
|
:config
|
||||||
(load-theme 'doom-molokai t)
|
(load-theme 'doom-molokai t)
|
||||||
(doom-themes-neotree-config)))
|
(doom-themes-neotree-config)
|
||||||
|
:custom
|
||||||
|
(doom-neotree-file-icons 'icons)))
|
||||||
;; Modeline
|
;; Modeline
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
:after all-the-icons
|
:after all-the-icons
|
||||||
|
@ -313,15 +311,19 @@
|
||||||
(global-hl-line-mode t)
|
(global-hl-line-mode t)
|
||||||
(global-display-line-numbers-mode)
|
(global-display-line-numbers-mode)
|
||||||
(size-indication-mode)
|
(size-indication-mode)
|
||||||
(setq show-trailing-whitespace t)
|
(setq show-trailing-whitespace t) ; Doesn't work with fill-column-indicator
|
||||||
(show-paren-mode t)
|
(show-paren-mode t)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;; Misc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Misc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Directory tree
|
;; Directory tree
|
||||||
(use-package neotree
|
(use-package neotree
|
||||||
:demand t
|
:demand t
|
||||||
:config
|
:after all-the-icons
|
||||||
(setq neo-smart-open t)
|
:custom
|
||||||
|
(neo-smart-open t)
|
||||||
|
(neo-show-updir-line t) ; Disabled by doom-themes?
|
||||||
|
(neo-window-width 30)
|
||||||
|
;; (setq neo-theme (if (display-graphic-p) 'icons 'arrow))
|
||||||
:bind
|
:bind
|
||||||
("<f8>" . neotree-toggle))
|
("<f8>" . neotree-toggle))
|
||||||
|
|
||||||
|
@ -388,13 +390,13 @@
|
||||||
|
|
||||||
;; I have to define these 2 times, don't know why.
|
;; I have to define these 2 times, don't know why.
|
||||||
(set-face-attribute 'tabbar-selected nil
|
(set-face-attribute 'tabbar-selected nil
|
||||||
:background "#333638"
|
:background "gray11"
|
||||||
:foreground "LightGray"
|
:foreground "light gray"
|
||||||
:family "Sans Serif"
|
:family "Sans Serif"
|
||||||
:bold t)
|
:bold t)
|
||||||
(set-face-attribute 'tabbar-unselected nil
|
(set-face-attribute 'tabbar-unselected nil
|
||||||
:background "#1C1E1F"
|
:background "gray18"
|
||||||
:foreground "DarkGray"
|
:foreground "dark gray"
|
||||||
:family "Sans Serif"
|
:family "Sans Serif"
|
||||||
:italic t)
|
:italic t)
|
||||||
:bind
|
:bind
|
||||||
|
@ -403,13 +405,13 @@
|
||||||
:custom-face
|
:custom-face
|
||||||
;; I Have to define these 2 times, don't know why.
|
;; I Have to define these 2 times, don't know why.
|
||||||
(tabbar-selected (nil
|
(tabbar-selected (nil
|
||||||
:background "#333638"
|
:background "gray11"
|
||||||
:foreground "LightGray"
|
:foreground "light gray"
|
||||||
:family "Sans Serif"
|
:family "Sans Serif"
|
||||||
:bold t))
|
:bold t))
|
||||||
(tabbar-unselected (nil
|
(tabbar-unselected (nil
|
||||||
:background "#1C1E1F"
|
:background "gray18"
|
||||||
:foreground "DarkGray"
|
:foreground "dark gray"
|
||||||
:family "Sans Serif"
|
:family "Sans Serif"
|
||||||
:italic t))))
|
:italic t))))
|
||||||
|
|
||||||
|
@ -418,7 +420,7 @@
|
||||||
:config
|
:config
|
||||||
(delete 'newline-mark whitespace-style)
|
(delete 'newline-mark whitespace-style)
|
||||||
:bind
|
:bind
|
||||||
("C-C w" . 'whitespace-mode))
|
("C-c w" . 'whitespace-mode))
|
||||||
|
|
||||||
;; Spell checking
|
;; Spell checking
|
||||||
(use-package flyspell
|
(use-package flyspell
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
127.0.0.1:51313 20353
|
127.0.0.1:51313 17125
|
||||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user