Last Updated: February 25, 2016
·
1.094K
· sandeepravi

use command prompt like vim

Add this to your .bashrc or just enter this in your terminal prompt:

set -o vi

There are now 2 modes (as in Vim) and you can use your terminal just like you would use vim.

To get back to the emacs mode (normal mode):

set -o emacs