Pause Vim for N seconds
gs
Example
Normal 0 / 1Normal 1 / 1Pause Vim for N seconds.
Wait one second, then resume; no additional key is typed.
Illustrated time
- Elapsed
1 s- State
Ready; the wait could have been interrupted with Ctrl-c
Before & after
Before
After
Illustrated time
- Elapsed
1 s- State
Ready; the wait could have been interrupted with Ctrl-c
ILLUSTRATION. No count is given, so gs waits one second. The timeline is illustrative and performs no real sleep.
one two
three fourCursor on line 1, column 1Details & Vim help
Pause Vim for N seconds. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.