Re:EditREPL - Open Vim from within the Python REPL
by ben0x539 on Monday March 18, 2013 @12:33PM
(#5395243)
I'm only using GNU readline for my bash prompt, but if I press v it spawns a full-on $EDITOR instance to edit the commandline.
[ Parent
| on HN ]
Re:EditREPL - Open Vim from within the Python REPL
by philipbjorge on Monday March 18, 2013 @12:44PM
(#5395329)
This is awesome (I still have a lot to learn about bash) and effectively what my module does.
Just so others know, you have to put bash in vi mode and press Esc before v (otherwise it's ctrl+x ctrl+e).
set -o vi