Vim Recall繁體中文

Pause Vim for N seconds

gs

Example

Normal 0 / 1

Pause Vim for N seconds.

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.

Sample buffer
one two
three four
Cursor on line 1, column 1
Details & 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.