t0il3ts0ap
t0il3ts0ap

Reputation: 550

Turn off vi capablilites of ubuntu terminal

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

Answers (2)

StuWhitby
StuWhitby

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

Jonathan.Brink
Jonathan.Brink

Reputation: 25403

Use the default, which happens to be emacs mode:

set -o emacs

Upvotes: 4

Related Questions