Pages

Friday, January 04, 2008

How to use vi style in Bash

If you are vi fans, probably you want to have vi command style in bash shell.

Simply add the following command in your ~/.profile_bash file:
set -o vi

That's all :)

2 comments:

  1. Hint for other readers: the default mode is insert mode, so hit ESC to go into vi-style command mode.

    ReplyDelete
  2. thanks for giving additional info. :)

    ReplyDelete