The Computer Oracle

Pressing "Ctrl + S" by mistake while using Vim

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping

--

Chapters
00:00 Pressing &Quot;Ctrl + S&Quot; By Mistake While Using Vim
01:08 Accepted Answer Score 84
01:56 Thank you

--

Full question
https://superuser.com/questions/1390977/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#keyboardshortcuts #vim

#avk47



ACCEPTED ANSWER

Score 84


Well, It's no a vim issue. This is called Software flow control. There is a bunch of info out there on the internet.

According to an article in here:

CTRL-S (XOFF) is part of Software flow control. XOFF notifies the process or device sending data that the input buffer is full and it shouldn't send any more data. The software (outputting process, firmware, terminal etc) can choose how to handle the notification - i.e. keep running and buffer data, drop data, pause until XON is received, etc.

More info about Software flow control here.

NOTE: if you want to get the control of your terminal after you pressed CTRL + s key combination, you can press CTRL + q.

I hope this helps.