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:

L’inizio

Bene!
Ci sono!

Qui parlerò di un pò di tutto, ma in particolare di informatica.
Sono Italiano quindi spesso troverai articoli scritti sia in Inglese che in Italiano.
Dai un’occhiata alle categorie English e Italiano.

Buon divertimento!