Reputation: 550
Recently I came across a great command which powers up terminal with VI shortcuts.
set -o vi
However, I am unable to unset this for current shell.
There is no help on man set
or man unset
or any online resource.
It would be of great help to know more about this stuff.
One can the see on/off status by using set -o
Upvotes: 2
Views: 81
Reputation: 29
Check whether you've got a .inputrc file in your home directory. It's probably set within that. If not, try:
grep vi$ .*
That should find where this is set.
Upvotes: 1
Reputation: 25403
Use the default, which happens to be emacs mode:
set -o emacs
Upvotes: 4