-
Notifications
You must be signed in to change notification settings - Fork 0
/
spacemacs
21 lines (18 loc) · 838 Bytes
/
spacemacs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration.
This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place you code here."
;; soft tab
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
;; enable line wrapper
(global-visual-line-mode 1)
(setq-default dotspacemacs-configuration-layers '((chinese :variables chinese-enable-fcitx t)))
(setq default-buffer-file-coding-system 'utf-8-unix)
(setq browse-url-browser-function 'eww-browse-url)
(add-hook 'org-mode-hook (lambda () (setq truncate-lines nil)))
(setq default-buffer-file-coding-system 'utf-8-unix)
)