Last active
November 27, 2017 21:45
-
-
Save semperos/3c07f72e1b28e19b1688bca7e9396b39 to your computer and use it in GitHub Desktop.
Spacemacs dotspacemacs/user-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; In dotspacemacs/layers: | |
dotspacemacs-configuration-layers | |
'( | |
better-defaults | |
clojure | |
emacs-lisp | |
git | |
org | |
ivy | |
) | |
;; Later: | |
(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 your code here." | |
(spacemacs/set-leader-keys "a e" 'eshell) | |
(spacemacs/set-leader-keys "a i" 'ielm) | |
(add-hook 'prog-mode-hook 'turn-on-smartparens-strict-mode) | |
(define-key clojure-mode-map (kbd "C-c C-s") #'sp-splice-sexp) | |
(define-key clojure-mode-map (kbd "C-)") #'sp-forward-slurp-sexp) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment