readline vi mode

Help
2006-06-01
2013-02-20
  • Scott Plante
    Scott Plante
    2006-06-01

    I like to use vi-mode in the bash shell and prefer to use it for Henplus, too. After a bit of searching around, I found this solution:

    Create a file ~/.inputrc
    Add this line to it:
    set editing-mode vi

    export INPUTRC=~/.inputrc      

    It would be nice if there were a henplus property for vi/emacs mode. If not, it would be nice if the above instructions were on the documentation page.