I am relatively new to Emacs, I love developing on the Clojure REPL with CIDER.
I wanted to change the smartparens key mappings from the default set to paredit, but wasn't sure how.
1. I went into core/prelude-editor.el and commented out all the smartparens statements. This didn't seem right to me because now when I do git pull there might be conflicts someday
Sometimes prelude confuses me because when I read emacs blog posts for how to do X, I am not sure if where to put things I want to try, whether it is init.el, or in some file in personal/*.el
diff --git /core/prelude-editor.el b/core/prelude-editor.el
;; smart pairing for all
-(require 'smartparens-config)
-(setq sp-base-key-bindings 'paredit)
-(setq sp-autoskip-closing-pair 'always)
-(setq sp-hybrid-kill-entire-symbol nil)
-(sp-use-paredit-bindings)
+;(require 'smartparens-config)
+;(setq sp-base-key-bindings 'paredit)
+;(setq sp-autoskip-closing-pair 'always)
+;(setq sp-hybrid-kill-entire-symbol nil)
+;(sp-use-paredit-bindings)
personal/smartparens-init.el
(require 'smartparens-config)
(add-hook 'minibuffer-setup-hook 'turn-on-smartparens-strict-mode)
(add-hook 'clojure-mode-hook #'smartparens-strict-mode)
;;;;;;;;;;;;;;;;;;;;;;;;
;; keybinding management
(define-key smartparens-mode-map (kbd "C-M-f") 'sp-forward-sexp)
(define-key smartparens-mode-map (kbd "C-M-b") 'sp-backward-sexp)
(define-key smartparens-mode-map (kbd "C-M-d") 'sp-down-sexp)