Using the Bash in VI mode

Posted . Visible to the public.

Activate VI mode by running

set -o vi

Now use your Bash as if it were VI! Hit Esc to enter command mode, jump around with e, w, b, 0, $ etc. and edit just as you're used to.

Bash history is searched with /. See the linked cheat sheet for more hints.

Dominik Schöler
Last edit
Dominik Schöler
License
Source code in this card is licensed under the MIT License.
Posted by Dominik Schöler to makandra dev (2015-11-24 10:51)