from the bash prompt: set -o vi or to set this option to automatically load when you start your terminal: cd ~ && echo 'set -o vi' >> .bashrc && echo "success\n"