Linux terminal/vim freezes/no response to key presses

Problem Description

After editing using vim in the linux terminal, I originally wanted to save it. But I accidentally used [ctrl+s]. As a result, nothing happens when pressing the keyboard. The vim editor seems to be stuck.

reason

Use ctrl + s to cause. In fact, this is not only the case in vim, as long as ctrl+s is used in the terminal, it will freeze. Because using this command locks the screen, which means the screen pauses input. So there will be no response.

Solution

ctrl + q: Unlock screen

Guess you like

Origin blog.csdn.net/only_a_Heroic_car/article/details/130822899