Vim
Vim copied to clipboard
VSCodeVIM is unusable (incredibly slow) on larger files, especially in INSERT MODE
- Click thumbs-up 👍 on this issue if you want it!
- Click confused 😕 on this issue if not having it makes VSCodeVim unusable.
The VSCodeVim team prioritizes issues based on reaction count.
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Environment:
- VSCode Version: 1.18.1 (I have tried Insiders build too, and didn't work there either)
- VsCodeVim Version: 0.15.5
- OS: MacOS High Siera
What happened: When editing longer files, VSCodeVim becomes so slow as to be completely unusable. Typing in insert mode, the keyboard response lags so hard it is impossible to use for anything other than reading files (I've had to switch back to Jetbrains IDE to work on this project in the meantime, since that's the only other IDE I have with a decent VIM plugin).
I've included some GIFs below to show this bug in action. Note that I type 100+ WPM, and these videos are in real-time, running at 30FPS.
On a <100 line file, typing doesn't seem to have much of a delay:

On a 1-2K line file, typing is already noticeably so slow that it is completely impossible to use:

On a 10K line file, typing is even slower and more unusable:

However, doing VIM commands in normal mode like navigating words seems to work at normal speed, and commands such as copy/pasting etc works (yank and paste is still a little slower but
nowhere near as slow as insert mode):

Disabling the VIM extension allows typing in real time, even on the largest 10K+ files:

What did you expect to happen:
Key presses type in real time on files, without an unusable delay. It should behave at the same or similar speed to how editing performs with VIM disabled.
How to reproduce it:
Type in insert mode on large files with the newest version of VSCodeVim and VSCode.