> I hit something by accident and command line editing no longer works.
> (I think I switched to the vi mode).
> 1. how do I get back to the emacs mode? (aka what did I hit?!)
If you're really in vi mode, use set -o emacs. If you're just in some
sub-mode, try ^G.
> 2. how do I disable vi mode fo
I hit something by accident and command line editing no longer works.
(I think I switched to the vi mode).
1. how do I get back to the emacs mode? (aka what did I hit?!)
2. how do I disable vi mode forever and ever (short of recompiling bash myself)?
thanks.
--
Sam Steingold (http://sds.podval.o