8

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?

1
  • 2
    Could you have accidentally pressed Ctr+Alt+J ? (This keycombo toggles between emacs-mode and vi-mode in many readline-compatible applications)
    – miono
    Commented Feb 22, 2017 at 9:57

0

You must log in to answer this question.

Browse other questions tagged .