When punching away at the keyboard on the octave command line, I sometimes find that the various readline shortcuts stop working, e.g.
C-e just insert
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
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.