I've set the keymaps of shell using set -o vi but how do I exit vim mode in shell? Executing :q or anything doesn't seem to work. unset -o vi returns bad option -o
I've set the keymaps of shell using set -o vi but how do I exit vim mode in shell? Executing :q or anything doesn't seem to work. unset -o vi returns bad option -o
You cannot unset a keymap, you can only change it:
set -o emacs
Because emacs is the default keymap.