How to cancel Cs Cx in ViM?

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.

Does anyone know how to undo or revert to ViM in such a situation to save changes?

+3
source share
2 answers

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 .

+8
source

CTRL + q. the console CTRL shas a scroll lock, resume CTRL + q.

+3
source

All Articles