My paredit fuu normally involves:
- Grow s-exp selection
- Shrink s-exp selection
Growing would select the symbol, then the symbols inside the form, then the form, and then the symbols inside that form, and so on, until the whole buffer is selected.
Shrinking reverses that until we’re back at having no selection.
Now add:
- Wrap parens/quote/bracket/curly, etc.
Now you can take any selection and wrap it with the parens you want which should automatically put the cursor at the front after wrapping.
- Navigation next/previous symbol.
- Navigation inside/outside forms.
With that you can now move around anywhere in the code. And with the prior tools you can select any relevant chunk of it.
Finally, add:
- Raise s-exp
- Split s-exp
- Join s-exp
So you can wrap by selecting and wrapping. Now you can also unwrap by selecting and doing a raise. And you can split/join siblings.
Oh, and I use re-wrap as well, to change parens type.
Seems like Calva has all these except for re-wrap.