I noticed when in vi mode in Bash (i.e., the mode enabled with "set -o vi"), that some commands, such as "diw", that work in Vim, but not in vi, don't work on the Bash command line. Is there an easy way to configure Bash so that its keybindings will support Vim commands?
I would like to be able to enter Vim commands on the command line without having to actually start the Vim program, as described in this question.
The best way of doing this that I know of would be to use Athame. It can be a surprisingly powerful experience in some cases. I particularly like it for interacting with a REPL.
Athame patches your shell to add full Vim support by routing your keystrokes through an actual Vim process. Athame can currently be used to patch readline (used by bash, gdb, python, etc) and/or zsh (which doesn't use readline).
Alternatively, I find Spacemacs with the eshell to be a reasonably functional, if strange, solution.