With `bash`, you can show which mode you're in by putting this in your `~/.inputrc`:
show-mode-in-prompt on
[foo@bar ~]$ # before turning it on @[foo@bar ~]$ # after @[foo@bar ~]$ set -o vi (ins)[foo@bar ~]$ # and after I press esc: (cmd)[foo@bar ~]$
With `bash`, you can show which mode you're in by putting this in your `~/.inputrc`:
It makes your prompt look like this: Customize these with `emacs-mode-string`, `vi-ins-mode-string`, and `vi-cmd-mode-string`.