Put the following into .inputrc set editing-mode vi set show-mode-in-prompt on set vi-ins-mode-string [insert] set vi-cmd-mode-string [command]