vim in bash
Put bash in vim mode!
Place the following in your ~/.inputrc
:
1set editing-mode vi
2set show-mode-in-prompt on
3set vi-ins-mode-string \1\e[33;32m\2[>]=\1\e[0m\2
4set vi-cmd-mode-string \1\e[33;1m\2[?]=\1\e[0m\2
5
6set keymap vi-insert
7RETURN: "\e\n"