Archive for February 27th, 2008

omg set -o vi!!!

Wednesday, February 27th, 2008

I just found out bash has a vi input mode. I think my life has changed permanently. No more annoying Alt+b.

set -o vi

Now hit Esc and you’re in command mode, standard vi. I haven’t played with it long enough to figure out what the restrictions are yet, given how you’re only editing one line. But copy/paste doesn’t seem to work.