diff --git a/spacemacs b/spacemacs index 79436ae..4b054bd 100644 --- a/spacemacs +++ b/spacemacs @@ -486,8 +486,21 @@ you should place your code here." (setq-default c-basic-offset 2) (setq-default sgml-basic-offset 2) (setq-default spacemacs-show-trailing-whitespace nil) - (setq-default python-shell-interpreter "python3")) + (setq-default python-shell-interpreter "python3") + (add-hook 'clojure-mode-hook #'parinfer-mode) + ;; Disable smartparens for quotes + (eval-after-load 'smartparens + '(progn + (sp-pair "'" nil :actions :rem) + (sp-pair "\"" nil :actions :rem))) + + (spacemacs/declare-prefix "o" "user prefix") + (spacemacs/set-leader-keys "op" 'go-to-projects-file)) + +(defun go-to-projects-file () + (interactive) + (find-file "~/Dropbox/Work/projects.org")) (setq custom-file "~/.dotfiles/emacs-local-custom.el") (load custom-file)