From 6749b0530b6e7b4e0478808e117dc8a4bc4d1a83 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 25 Jun 2016 12:37:46 +0800 Subject: spacemacs: enable layers: emoji, ess, version-control, and xkcd --- _spacemacs.d/init.el | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to '_spacemacs.d/init.el') 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) -- cgit v1.2.2