Editing syntax trees feels clunky without this feature, but I can't find a way to make CCW do it. I have to resort to the error-prone manual copy-paste.
CCW needs something like lispy-move-down(up)
or Cursive's Move Form Down (Up), or at least Paredit's transpose, though that's not quite as capable.
It would work something like this:
; || is selection
(1 2 |(3 4)| 5 6)
; move down
(1 2 5 |(3 4)| 6)
; move down
(1 2 5 6 |(3 4)|)
; make a new selection
(1 2 |5 6| (3 4))
; move up
(1 |5 6| 2 (3 4))
; etc.
Editing syntax trees feels clunky without this feature, but I can't find a way to make CCW do it. I have to resort to the error-prone manual copy-paste.
CCW needs something like lispy-move-down(up) or Cursive's Move Form Down (Up), or at least Paredit's transpose, though that's not quite as capable.
It would work something like this: