according to documentation for
go to sleep for N seconds (default 1)
Thus you can put Vim to sleep for 10 seconds using
10gs. What is a good use case for this command?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
Short answer: None. That is, I believe it is a waste to map the easily accessible keys
With that said, I often use the the
:sleep command when I do testing and debugging of vimscript files. So the command itself is not useless. But when I do use it, I use it as part of a vimscript. After ~15 years of using Vim, I have never used
gs to make Vim sleep.