diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-06-25 12:37:46 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-06-25 12:37:46 +0800 |
commit | 6749b0530b6e7b4e0478808e117dc8a4bc4d1a83 (patch) | |
tree | bf1b3437d82e1e265ab85887539a839949b7f8fa | |
parent | 4af6b138ee479ebaaba1170dd0f9a02b0f43b2fb (diff) | |
download | dotfiles-6749b0530b6e7b4e0478808e117dc8a4bc4d1a83.tar.bz2 |
spacemacs: enable layers: emoji, ess, version-control, and xkcd
-rw-r--r-- | _spacemacs.d/init.el | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/_spacemacs.d/init.el b/_spacemacs.d/init.el index a887d0b..7186288 100644 --- a/_spacemacs.d/init.el +++ b/_spacemacs.d/init.el @@ -11,7 +11,7 @@ ;; ;; Aaron LI ;; Created: 2016-04-30 -;; Updated: 2016-06-18 +;; Updated: 2016-06-25 ;; @@ -25,7 +25,7 @@ ;; For now available distributions are `spacemacs-base' or `spacemacs'. dotspacemacs-distribution 'spacemacs ;; List of additional paths where to look for configuration layers. - ;; Paths must have a trailing slash (i.e. `~/.mycontribs/'). + ;; Paths must have a trailing slash (e.g., `~/.mycontribs/'). dotspacemacs-configuration-layer-path '("~/.spacemacs.d/layers/") ;; List of configuration layers to load. ;; If it is the symbol `all' instead of a list then all discovered @@ -52,6 +52,8 @@ (chinese :variables chinese-enable-fcitx t) clojure emacs-lisp + emoji + ess ; R programming language games git latex @@ -71,7 +73,10 @@ shell-scripts spell-checking syntax-checking - ;; version-control + (version-control :variables + version-control-diff-tool 'diff-hl + version-control-global-margin t) + xkcd ) ;; List of additional packages that will be installed without being ;; wrapped in a layer. If you need some configuration for these @@ -349,6 +354,9 @@ ;(add-hook 'text-mode-hook 'turn-on-fci-mode) ;(add-hook 'org-mode-hook 'turn-off-fci-mode 'append) ;; + ;; ESS: Turn off the automatic replacement of `_' by `<-' + (add-hook 'ess-mode-hook (lambda () (ess-toggle-underscore nil))) + ;; ;; mu4e: https://github.com/djcb/mu (push "~/.spacemacs.d/config" load-path) (require 'aly-mu4e-config nil t) |