Description
Parinfer is a proof-of-concept editor mode for Lisp programming languages that makes it simpler to write and edit parentheses. In its indent mode, the editor rearranges the parentheses when you change indentation, so the code always matches how it looks on screen. You can insert or delete a line, or comment one out, without the parentheses moving in ways you do not expect. In paren mode, the indentation is kept in step when you edit the parentheses, and simple paredit-style operations such as wrap, splice, slurp and barf work without hotkeys, because the editor infers the parentheses from the indentation. The project page is a long interactive essay that lets you try the modes yourself, and it explains the mathematical idea behind the approach and how parens are inserted and deleted. Parinfer has plugins for several editors, and the project's source is on GitHub.…
Highlights
- Indent mode rearranges parens for you
- Paren mode keeps indentation in step
- Paredit-style edits without hotkeys
- Interactive page to try the modes
- Plugins for several editors
Ratings & Reviews
No ratings yet
Be the first to rate Parinfer.
People also visit

remember-interactive-programming
Micro-prompt that reinforces interactive programming workflows
Parinfer FAQ
What is Parinfer?
A proof-of-concept editor mode for Lisp languages that infers parentheses from indentation, so you edit less by hand.
What are the two modes?
Indent mode, which moves parentheses when you change indentation, and paren mode, which keeps the indentation in step when you edit parentheses.
Can I try it before installing?
Yes. The project page has interactive examples, and you can click into them to try it yourself.
Where is the source?
The project is on GitHub, along with plugins for editors such as Neovim and Vim-style setups.
What are the best Parinfer alternatives?
Popular alternatives to Parinfer include Ki Editor, OpenBracket and Kakoune. See all Parinfer alternatives


