Bash in vi editing mode

February 20, 2006

I’m coming from ksh shell, so I’m most productive using the Vi editing mode instead of Emacs.

It’s really simple to set it on user side settings:

Set the following in your ~/.inputrc:

set editing-mode vi
set keymap vi

and this in your ~/.bashrc:

set -o vi

You can also do the same as system default adding the same lines on /etc/inputrc and /etc/bashrc

Now you can edit your command line with Vi editing command:

The begin

January 31, 2006

Well!!!
Here I am!!!

Here I will speak about everything, above all computer related subject.
I’m Italian so you will often find articles on both languages, Italian and English, take a look under English and Italian categories.

Have fun!
Antenore Gatta