aboutsummaryrefslogtreecommitdiffstats
path: root/_spacemacs
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-01 16:12:50 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-01 16:12:50 +0800
commit260a670d6938a683373772efb90e1aa759ea7824 (patch)
tree5414cb356ed3c32aefe07027390155151081ad89 /_spacemacs
parent4371d26783b341468c391d8a8d4e501c7d513a73 (diff)
downloaddotfiles-260a670d6938a683373772efb90e1aa759ea7824.tar.bz2
_spacemacs: some tunes; set chinese font
Diffstat (limited to '_spacemacs')
-rw-r--r--_spacemacs14
1 files changed, 11 insertions, 3 deletions
diff --git a/_spacemacs b/_spacemacs
index 5a05e25..ba436ba 100644
--- a/_spacemacs
+++ b/_spacemacs
@@ -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