Sometimes I forget that I'm in ViM, and I click Cs Cx, which is Save and Exit in Emacs.
This had the effect in ViM that it writes ^Xand freezes.
^X
Does anyone know how to undo or revert to ViM in such a situation to save changes?
Cs sends a stop signal to your terminal if it is not configured differently. To stop, use Cq.See this entry in the bash beginner's guide .
CTRL + q. the console CTRL shas a scroll lock, resume CTRL + q.