Problem description: In vim, I suddenly found that I can’t input by pressing the keyboard (only in vim, I can’t input)
Reason: I pressed ctrl+s by mistake to lock the scroll. I actually entered it but could not see the effect;
Solution: ctrl+q cancels the scroll lock;
Note: If you want to disable the locked scrolling function, open the configuration file ~/.bashrc and add stty -ixon, then reload the configuration file source ~/.bashrc;
Reference blog post: