3 ms·
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.
by ben0x539 14y ago
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.
- philipbjorge 14y agoThis 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
- jlgreco 14y agoAye, looks like I was wrong. This is a feature that bash has, not Readline. (in bash 4.2: bashline.c:858)