diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-05-01 16:12:50 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-05-01 16:12:50 +0800 |
commit | 260a670d6938a683373772efb90e1aa759ea7824 (patch) | |
tree | 5414cb356ed3c32aefe07027390155151081ad89 | |
parent | 4371d26783b341468c391d8a8d4e501c7d513a73 (diff) | |
download | dotfiles-260a670d6938a683373772efb90e1aa759ea7824.tar.bz2 |
_spacemacs: some tunes; set chinese font
-rw-r--r-- | _spacemacs | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,8 +1,9 @@ ;; -*- mode: emacs-lisp -*- +;; vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=lisp: ;; ;; Aaron LI ;; Created: 2016-04-30 -;; Updated: 2016-04-30 +;; Updated: 2016-05-01 ;; @@ -98,7 +99,7 @@ values." ;; directory. A string value must be a path to an image format supported ;; by your Emacs build. ;; If the value is nil then no banner is displayed. (default 'official) - dotspacemacs-startup-banner 'official + dotspacemacs-startup-banner 'random ;; List of items to show in the startup buffer. If nil it is disabled. ;; Possible values are: `recents' `bookmarks' `projects'. ;; (default '(recents projects)) @@ -123,7 +124,7 @@ values." ;; Default font. `powerline-scale' allows to quickly tweak the mode-line ;; size to make separators look not too crappy. dotspacemacs-default-font '("Source Code Pro" - :size 13 + :size 14 :weight normal :width normal :powerline-scale 1.1) @@ -271,6 +272,13 @@ layers configuration. You are free to put any user code." (add-hook 'org-mode-hook 'turn-off-fci-mode 'append) ;; Separate line number from text using a vertical line (setq linum-format "%4d\u2502") + ;; Wrap long lines + ;; Credit: https://emacs.stackexchange.com/a/19364 + (spacemacs/toggle-truncate-lines-off) + ;; Change `powerline' separator + (setq powerline-default-separator 'arrow) + ;; Set monospaced font size for Chinese + (spacemacs//set-monospaced-font "Source Code Pro" "WenQuanYi Zen Hei" 14 16) ) ;; Do not write anything past this comment. This is where Emacs will |