When punching away at the keyboard on the octave command line, I sometimes find that the various readline shortcuts stop working, e.g. C-a
and C-e
just insert ^A
and ^E
.
It took me a while to realize that this is because I've accidentally switched to vi-editing-mode, and indeed there's is a toggle-editing-mode
(C-M-j
) documented in an old version of the octave manual.
My question is, how do I return to emacs-mode? I can't find any shortcut listed anywhere.