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
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