Is there an easy way to transform the first form into the second?
(testing "abc"
(let [a 1]))
;;=>
(let [a 1]
(testing "abc"
))
(cljr-expand-let) ;; SPC m r e l
Note: This is in spacemacs if you enable clj-refactor: https://practicalli.github.io/spacemacs/refactor/clj-refactor/#enable-clj-refactor
this can be done with convolute of lisp-mode with SPC-kc
See more convolute examples here: https://youtu.be/D6h5dFyyUX0?t=101
The ,rel
example I did not know, seems to do something similar but only with the first let