Fork me on GitHub
#emacs
<
2018-09-14
>
bozhidar06:09:08

I’d restrain from using clj-refactor.el at first in the interest of you having a smoother sailing.

bozhidar06:09:24

Once you get more comfortable with Emacs you can move to adopting it.

zalky14:09:51

Hi folks, anyone who uses paredit know if it's possible to unwrap a sexp:

|(x y z)    =>   |x y z
Specifically, this is a forward unwrap, like smart-paren's sp-unwrap-sexp. I know there is paredit-splice-sexp but that unwraps the surrounding sexp, and is not as useful because navigating sexps usually leaves you at the beginning, not inside.

vemv16:09:23

Couldn't find it. A composite custom command could search-forward-regexp one of ([{", then call paredit-splice-sexp

zalky17:09:03

Thanks for the response! That actually sounds fairly straight forward. But luckily, I was able to just bring in smartparens' sp-unwrap-sex without it interfering with paredit.

vemv18:09:02

Yeah, generally most SP functions (or any given mode's) don't need the mode to be active