2 ms·
I use rlwrap too. There are a few extra options that are nice, so I wrap it up in a script I call `lwrap`: https://gist.github.com/anonymous/c1a0c9d54bc647179fa
by sillysaurus3 9y ago
I use rlwrap too. There are a few extra options that are nice, so I wrap it up in a script I call `lwrap`: https://gist.github.com/anonymous/c1a0c9d54bc647179fa32c08e7d20698 https://gist.github.com/anonymous/c1a0c9d54bc647179fa32c08e7...
Then I invoke it like `lwrap lumen`. I use multi-line mode pretty often, and I have this in my ~/.inputrc file:
"\e\C-m": rlwrap-call-editor # ALT-RET
So at Lumen's prompt, I usually type () followed by Alt-Return, which drops me into MacVim and I edit from there.
If you're a vimmer or an emacs user, I can set you up with some basic tooling to make things easier.