Paredit.vim – Paredit Mode: Structured Editing of Lisp S-Expressions
github.com
github.com
Features such as selection that grows "inside out" (or bottom-up) rather than line by line, moving a selection around to the next/previous valid position, moving various delimiters around to next/previous valid position, enclosing whatever’s under the cursor in a new block/pair of parens, and so on.
Unless we’re talking about FORTRAN or COBOL circa 1960, source code is a tree natively and text only incidentally.
I recently had to remove parinfer because its inferences in multi-line syntax-parse statements were not great: I had to join a bunch of lines together to put in the parentheses I needed and lost placement. Parinfer's unwillingness to let me balance parentheses manually is a frustration. Am I misusing it?