Spacemacs config refinements

- Delete excess themes
- Move some code into its own function to be more idiomatic
This commit is contained in:
2017-03-22 15:28:05 -07:00
parent d1fd3a4a66
commit 5c6ece8fa3

View File

@@ -42,7 +42,6 @@
;; Aesthetics ;; Aesthetics
(colors :variables (colors :variables
colors-colorize-identifiers 'all) colors-colorize-identifiers 'all)
themes-megapack
)) ))
;; Enable osx layer only on Macs ;; Enable osx layer only on Macs
@@ -89,15 +88,14 @@ before layers configuration."
;; directory. A string value must be a path to an image format supported ;; directory. A string value must be a path to an image format supported
;; by your Emacs build. ;; by your Emacs build.
;; If the value is nil then no banner is displayed. ;; If the value is nil then no banner is displayed.
dotspacemacs-startup-banner 'official dotspacemacs-startup-banner nil
;; List of items to show in the startup buffer. If nil it is disabled. ;; List of items to show in the startup buffer. If nil it is disabled.
;; Possible values are: `recents' `bookmarks' `projects'." ;; Possible values are: `recents' `bookmarks' `projects'."
dotspacemacs-startup-lists '(recents projects) dotspacemacs-startup-lists '(recents projects)
;; List of themes, the first of the list is loaded when spacemacs starts. ;; List of themes, the first of the list is loaded when spacemacs starts.
;; Press <SPC> T n to cycle to the next theme in the list (works great ;; Press <SPC> T n to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light) ;; with 2 themes variants, one dark and one light)
dotspacemacs-themes '(spacemacs-dark dotspacemacs-themes '(spacemacs-dark)
material)
;; If non nil the cursor color matches the state color. ;; If non nil the cursor color matches the state color.
dotspacemacs-colorize-cursor-according-to-state t dotspacemacs-colorize-cursor-according-to-state t
;; Default font. `powerline-scale' allows to quickly tweak the mode-line ;; Default font. `powerline-scale' allows to quickly tweak the mode-line
@@ -181,12 +179,12 @@ before layers configuration."
ruby-version-manager 'rbenv ruby-version-manager 'rbenv
ruby-enable-ruby-on-rails-support t ruby-enable-ruby-on-rails-support t
;; Auto-resume layouts on relaunch ;; Auto-resume layouts on relaunch
dotspacemacs-auto-resume-layouts nil dotspacemacs-auto-resume-layouts nil))
)
(defun dotspacemacs/user-init ()
;; User initialization goes here ;; User initialization goes here
(add-to-list 'default-frame-alist '(height . 60)) (add-to-list 'default-frame-alist '(height . 60))
(add-to-list 'default-frame-alist '(width . 115)) (add-to-list 'default-frame-alist '(width . 115)))
)
(defun dotspacemacs/user-config () (defun dotspacemacs/user-config ()
"Configuration function. "Configuration function.