Disable smartparens for quotes

- Add go-to-projects file binding (SPC o p)
This commit is contained in:
2019-01-31 12:16:15 -08:00
parent bddbdca20a
commit 96e5bec5eb

View File

@@ -486,8 +486,21 @@ you should place your code here."
(setq-default c-basic-offset 2) (setq-default c-basic-offset 2)
(setq-default sgml-basic-offset 2) (setq-default sgml-basic-offset 2)
(setq-default spacemacs-show-trailing-whitespace nil) (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") (setq custom-file "~/.dotfiles/emacs-local-custom.el")
(load custom-file) (load custom-file)