I occasionally find that while working in iTerm the default Readline key bindings are replaced with the vi
keybindings.
For example, I will try to go to the beginning of the line with ctrl-a, and instead it will print the character ^A
, and then I won't be able to insert any text until I enter insert mode. I know this can be configured by setting the editing-mode in my inputrc file, but I don’t have that set in mine. Is there a way that I could be dynamically entering vi
mode?