Skip to content

Instantly share code, notes, and snippets.

@jraines
Created November 11, 2015 19:48
Show Gist options
  • Save jraines/5c95996157a5fe0577a5 to your computer and use it in GitHub Desktop.
Save jraines/5c95996157a5fe0577a5 to your computer and use it in GitHub Desktop.
spacemacs config so far
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration. You are free to put any user code."
(setq-default neo-vc-integration nil)
(spacemacs/toggle-maximize-frame)
(setq projectile-enable-caching t)
(evil-leader/set-key "ol" 'evil-lisp-state)
(evil-leader/set-key "oj" 'cider-repl-previous-input)
(setq cider-show-error-buffer 'except-in-repl)
(setq-default
;; js2-mode
js2-basic-offset 2
;; web-mode
css-indent-offset 2
web-mode-markup-indent-offset 2
web-mode-css-indent-offset 2
web-mode-code-indent-offset 2
web-mode-attr-indent-offset 2)
(defadvice ansi-term (after advise-ansi-term-coding-system)
(set-buffer-process-coding-system 'utf-8-unix 'utf-8-unix))
(ad-activate 'ansi-term)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment