Hi list, The rabbit hole went pretty deep. Here's my current viprc:
https://gist.github.com/erdg/ebf4556382bc1bbbaf534c4ebd927322 It now contains a substantial "command language" for lisp code based on the keys '(', ')', '@' and '#'. There's also a bunch of utility functions that make writing these kinds of things slightly easier. And automatically generated docs / cheat sheet that's updated every time viprc is reloaded. Definitely a bit overkill, it's about as many lines as the editor itself. It was fun to write though :) The full command listing is here: https://gist.github.com/erdg/fa263802cc7c1b3d6cbc9398e5a86b5e (I think) the only key I've overwritten is '#' (search word under cursor backwards). It is available as '##' or '^'. If you decide to try it, please note that it will generate a file ~/.pil/viprc-docs. Press 'g?' to view this file in vip. - Erik