54

I accidentally pressed CTRL+S in vim. Then I was really confused why everything just stopped working..

I should remember how Linux works sometimes.

Comments
  • 15
    For reference, pressing Ctrl+S freezes the current terminal session. It can be undone by pressing Ctrl+Q
  • 3
    vim is not linux lol
  • 5
    On the other hand I try to :wq on MS Word sometimes.

    I should remember how Microsoft works. 😅
  • 4
    That the good ole XON/XOFF software flow control mechanism kicking in, where ctrl-s means "stop sending" and ctrl-q is "resume sending". This was designed for serial communication but is obviously still used, for unobvious reasons. Tip: to turn it off, issue command "stty -ixon" in the terminal.
  • 1
    @stormwise thank you for the interesting info!
  • 1
Add Comment