remove sublime-themes to doom-themes
This commit is contained in:
parent
ebf8bb77cb
commit
7fd29e9a60
@ -11,7 +11,7 @@
|
|||||||
'(ecb-options-version "2.50")
|
'(ecb-options-version "2.50")
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree sublime-themes sml-modeline smartparens smart-mode-line-powerline-theme shrink-path sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy ecb dotenv-mode dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu all-the-icons))))
|
(git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree smartparens sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy ecb dotenv-mode doom-themes doom-modeline dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu))))
|
||||||
(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.
|
||||||
|
@ -6,26 +6,11 @@
|
|||||||
;;----------------------------------------------------------------------------
|
;;----------------------------------------------------------------------------
|
||||||
;; Modeline configuration
|
;; Modeline configuration
|
||||||
;;----------------------------------------------------------------------------
|
;;----------------------------------------------------------------------------
|
||||||
|
(use-package doom-modeline
|
||||||
(use-package smart-mode-line
|
|
||||||
:pin "MELPA")
|
|
||||||
(use-package smart-mode-line-powerline-theme
|
|
||||||
:pin "MELPA")
|
|
||||||
(use-package sml-modeline
|
|
||||||
:pin "MELPA"
|
:pin "MELPA"
|
||||||
:config
|
:ensure t
|
||||||
;; Show number of occurrences when searching
|
:hook (after-init . doom-modeline-mode)
|
||||||
(setq sml/theme 'powerline)
|
)
|
||||||
|
|
||||||
(setq sml/no-confirm-load-theme t)
|
|
||||||
(setq sml/shorten-modes t)
|
|
||||||
;; Show EOL mode
|
|
||||||
(setq sml/show-eol t)
|
|
||||||
;; Show remote buffers
|
|
||||||
(setq sml/show-remote t)
|
|
||||||
|
|
||||||
(sml/setup)
|
|
||||||
(sml-modeline-mode t))
|
|
||||||
|
|
||||||
(use-package anzu
|
(use-package anzu
|
||||||
:config
|
:config
|
||||||
|
@ -3,15 +3,47 @@
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(use-package sublime-themes
|
(use-package doom-themes
|
||||||
:config
|
:pin "MELPA"
|
||||||
(load-theme 'spolsky t))
|
:ensure t
|
||||||
|
:bind
|
||||||
|
("C-x t d" . dark-theme)
|
||||||
|
("C-x t l" . light-theme)
|
||||||
|
|
||||||
;; Fix linum current-line highlight. Doesn't looks good with this theme
|
:init
|
||||||
|
(defun light-theme ()
|
||||||
|
"Activate light colortheme"
|
||||||
|
(interactive)
|
||||||
|
(load-theme 'doom-one-light)
|
||||||
|
(delete-selection-mode 1)
|
||||||
|
)
|
||||||
|
|
||||||
|
(defun dark-theme ()
|
||||||
|
"Activate dark colortheme"
|
||||||
|
(interactive)
|
||||||
|
(load-theme 'doom-molokai)
|
||||||
|
(delete-selection-mode 1)
|
||||||
|
;; Invoke customcolors
|
||||||
|
(customcolors)
|
||||||
|
)
|
||||||
|
;; Invoke theme
|
||||||
|
(load-theme 'doom-molokai t)
|
||||||
|
|
||||||
|
:config
|
||||||
|
(defun customcolors ()
|
||||||
|
"Simple customcolors for theme."
|
||||||
|
(set-cursor-color "#268bd2")
|
||||||
|
(set-face-background 'highlight "#268bd2")
|
||||||
|
|
||||||
|
;; Fix linum current-line highlight
|
||||||
(defface my-linum-hl
|
(defface my-linum-hl
|
||||||
'((t :background "gray30" :foreground "gold"))
|
'((t :background "gray20" :foreground "gold"))
|
||||||
"Face for the currently active Line number"
|
"Face for the currently active Line number"
|
||||||
:group 'linum)
|
:group 'linum))
|
||||||
|
|
||||||
|
;; Invoke customcolors
|
||||||
|
(customcolors)
|
||||||
|
)
|
||||||
|
|
||||||
(provide 'init-theme)
|
(provide 'init-theme)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user