I have vi bindings working in my bash shell using set -o vi in my .bash_profile. But I can’t seem to get them to work in the mysql command line client. I only get emacs style bindings. How do you do this?
I also put these lines in my .inputrc, but to with no effect:
set editing-mode vi
set keymap vi
Quick google reveals this… don’t know if it helps.
Copied here for convenience: