Finally got round to configuring smartparens to use the sexp-changing functions. It's like using paredit in any language, brilliant! #emacs