You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also recommend adding drag-down which will move an item that has a list to the left, into the list as the first item. You could then push-right to desired position.
drag-down: (let *x* [a 1]) to (let [*x* a 1])
The drag-up would move an item out of a list and placed to the right of it.
drag-up: (let [a 1 *x*]) to (let *x* [a 1]).
With those two added, anything can be created with structural edits. The only other drag I can think is drag-next and drag-prev which is indifferent to boundaries.
drag-prev: (let [a 1 ] *x*) to (let [a 1 *x* ])
drag-next: (let [a 1 *x* ] ) to (let [a 1 ] *x* )
BTW, this are comparable to clojure.zip zipper up/down, left/right, next/previous.
The text was updated successfully, but these errors were encountered:
@PEZ Thanks for the paredit push left/right.
I also recommend adding
drag-down
which will move an item that has a list to the left, into the list as the first item. You could thenpush-right
to desired position.(let *x* [a 1])
to(let [*x* a 1])
The
drag-up
would move an item out of a list and placed to the right of it.(let [a 1 *x*])
to(let *x* [a 1])
.With those two added, anything can be created with structural edits. The only other drag I can think is
drag-next
anddrag-prev
which is indifferent to boundaries.(let [a 1 ] *x*)
to(let [a 1 *x* ])
(let [a 1 *x* ] )
to(let [a 1 ] *x* )
BTW, this are comparable to
clojure.zip
zipper up/down, left/right, next/previous.The text was updated successfully, but these errors were encountered: