My cursor is on speed, often leaves VS Code behind.
See original GitHub issueAs you may have noticed in some of my recordings, my cursor is 🏇 🏇 🏇 🏇 🏇 🛒.
I some times move too fast, and VS Code rendering will not be up to date. Or sometimes, VS Code’s cursor will have moved further than mine. Maybe this happens once it has been slammed with all the previous movement, and then VS Code handles the input instead of neovim? I think that may be the case, because sometimes in insert mode I’ll type some stuff, then ctrl+c and start moving with j
, but instead I’ll see jjjjjj
inputted into the text.
I think this is also more likely to happen when other things are taking up CPU, so that it slows both VS Code and Neovim down.
I noticed the Vim
plugin also has the same issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
I have a problem with the cursor in visual studio code [closed]
I can´t edit any code in the program when i try it looks like i´m in "insert" mode with like a block cursor....
Read more >Visual Studio Code Tips and Tricks
You can add additional cursors to all occurrences of the current selection with Ctrl+Shift+L. add cursor to all occurrences of current selection. Note:...
Read more >6 Tips to Improve Your Coding Speed [LAZY EDITION] - OOZOU
1. Move cursor by word ... Now you can navigate the codebase faster. If you hold the Shift button along the way then...
Read more >Find and fix performance issues of your VS Code Extension
Most refactorings are exposed as VS Code Quick Fixes. Regarding where your cursor is, VS Code will tell you the relevant refactorings you ......
Read more >25 VS Code Productivity Tips and Speed Hacks - YouTube
Learn 25 VS Code tips and tricks that will help you write code faster. Try out awesome new features and extensions that turn...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
What I experience happens most often when there’s lots of system load and VS Code is operating slowly (I only have 8GB RAM, so working at full mem usage and swap space swapping is usually when it happens). The slowness seems to cause races or something, and then text editing gets out of sync, but it always catches up. When VS Code is slow and I’m trying to edit fast, then sometimes the edits don’t happen where I expected they would (like I would expect with vim on a slow network). Similar to the movement, the edits happen at the erroneous cursor positions before the cursor lands at the correct spots and I’ve already inputted the vim commands before things settle.
I experienced similar issue. on 0.7x versions. Most noticeable for me is when I type ‘o’ to open line in normal mode, it enters insert mode further down the next line. Also I have seen what @trustkr is experiencing too sometimes.