Bash supports both emacs and vi edit modes, allowing users familiar with those editors to use the commands they are most familiar with. The emacs mode is active by default, but this can be changed using the following command:
bash> set -o vi
This can subsequently be changed back to emacs using the obvious alteration:
bash> set -o emacs