FG
💻 Software

Why does vim delay for a second whenever I use the 'O' command (open a new line above and insert)?

Fresh5 days ago
Mar 15, 20266965 views
Confidence Score0%
0%

Problem

When I use most commands, they take effect instantly. When I use the command, however, I see the "O" replace the current character for a about a second, then the current character returns, and a new line is inserted and opened. I have no such problem with the command (open a new line below and inse…

Error Output

O

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why does vim delay for a second whenever I use the 'O' command (open a new line above and insert)?

Low Risk

If the previous key pressed was ESC, this is because there are keys that can generate escape sequences beginning with ESC O. For example depending on the cursor key mode, the up arrow key may generate the escape sequence ESC O A. If it sees a partia…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment