For bash or any other application using the readline library you can configure it for vi mode by adding 'set editing-mode vi' to your ~/.inputrc. Note for bash you can instead add 'set -o vi' to ~/.bashrc to avoid setting the mode for all readline applications
Re:Vim for Humans
by ifoundthetao on Monday October 17, 2016 @05:16PM
(#12729853)
Interesting, you may be interested in vi mode in bash.
http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-shee...
https://github.com/bgribble/lw