Just enable vim mode (`set -o vi`) and call it a day.
Yes! I never got the hang of the read line short cuts. Only one I remember and regularly use is reverse history search: ctrl-R. The downside is that while vim mode works nicely on bash, other commands like gdb etc that also use read line aren’t as easy to get into vim mode, if they support it at all…
set editing-mode vi
set keymap vi-command
That does the trick for me in python shell, psql, etc.First thing I do on any fresh unix box is setting above, and echo "set -o vi" >> ~/.bash_profile.