set editing-mode vi
in your ~/.inputrc (instead) and all GNU libreadline using programs will give you vi keys instead of emacs :-)