From 260a670d6938a683373772efb90e1aa759ea7824 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 1 May 2016 16:12:50 +0800 Subject: _spacemacs: some tunes; set chinese font --- _spacemacs | 14 +++++++++++--- 1 file 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 -- cgit v1.2.2