Hi all,

Here's a modified 'insMode' that provides basic "structural editing"
features:

https://gist.github.com/erdg/0e7d97cc66b205ffd5eadc9b637ed4a9

- balanced insert/delete of (super-)parens
- automatic code indentation
- line editing shortcuts from within insert mode

The line editing shortcuts could be changed to provide a more emacs-like
experience. I'll leave that as an exercise for the reader ;)

Happy hacking,
Erik

Reply via email to