Bash in vi editing mode
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:
