user12373956
user12373956

Reputation:

How to unset vim mode in shell

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

Upvotes: 3

Views: 355

Answers (1)

phd
phd

Reputation: 94492

You cannot unset a keymap, you can only change it:

set -o emacs

Because emacs is the default keymap.

Upvotes: 5

Related Questions