Normal mode lags after ~10 minutes of having vs code open with vim extension
Author: win20Created Jul 30, 2025Updated Aug 17, 2026
Describe the bug Lag only in normal mode of vim mode after a little while of using vs code with vim, makes it completely unusable.
To Reproduce
- Open VS Code
- Have Vim extension installed and enabled
- Keep it open or use it for around 10/15 minutes
- Lag starts when in normal mode, especially when moving around
Expected behavior Should not be lagging, especially to this extent where it becomes unusable. I have to reload my window to reset it.
Screenshots Recording of the issue, please note the key casting on the bottom left of the screen, I stop typing and the cursor still moves until a few seconds after.
https://github.com/user-attachments/assets/371c364a-1619-487e-bc39-b47770edb4d4
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.30.1
- VSCode version: 1.102.3
- OS: MacOS Sequoia 15.5
Additional context Add any other context about the problem here. Using a Mac mini, M2 Pro, 16GB memory
Source: VSCodeVim/Vim