3 ms·
I think this is different because I'm full on opening an instance of vim. (I didn't know about GNU Readline though and it looks awesome - I'll definitely try an
by philipbjorge 14y ago
I think this is different because I'm full on opening an instance of vim. (I didn't know about GNU Readline though and it looks awesome - I'll definitely try and work it into a project at some point).
- ben0x539 14y agoI'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)
- jlgreco 14y agoEither Readline let's you do the same, or that is just a bash specific feature I am miss remembering. I can check later when I'm not on my phone.