question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cursor jumps erratically before moving vertically

See original GitHub issue
  • 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
  • VsCodeVim Version: 0.10.4
  • OS: Archlinux

What happened: When using a count prefix before vertical moving (j,k), the cursor jumps erratically before moving to target position, as shown in the screencast (the actual rate is much faster than it’s shown in gif due to fps limit):

record

The commands I used were, in order: 500j, 200k, 50j, 10k, 5j, gg. It seems that the time the cursor spent jumping around is roughly proportional to the number of lines it should move pass.

Probably related: #1682, #1154. I tried both with and without neovim integration, but no change. Also since I’m not on mac, the mac setup mentioned in those two reports doesn’t apply.

What did you expect to happen: Cursor moves to target line directly, without any jumping, like what happens for gg

How to reproduce it: Open any file with sufficient lines, and move cursor vertically by using number prefix {count}j or {count}k

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Chilleecommented, Nov 21, 2017

@Aetf yeah the jumping down has to be done as we have no other way to interact with folds 😕

I’m not actually sure why it jumps around like that. I don’t think it should. It should definitely be possible to fix, just a question of finding time for it.

1reaction
Chilleecommented, Nov 21, 2017

@Aetf do you have foldfix turned on?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mouse Acting Erratically, Jumping, or is Not Moving Properly
If the cursor on your screen moves erratically when you move the mouse, the following steps may help you fix the problem.
Read more >
Mouse Cursor jumps or moves randomly while typing in ...
In Windows 8.1, open PC Settings > PC and Devices > Mouse and Touchpad. Under Touchpad settings, you will see To help prevent...
Read more >
Mouse cursor moves erratically across screen
The mouse cursor starts moving rapidly, mostly horizontally, ... Once the cursor continued to move erratically after unplugging the mouse.
Read more >
How to Fix a Mouse Cursor That Moves On Its Own in ...
1. Double-Check Your Hardware ... Before checking or changing any settings on your laptop or PC, make sure to check all hardware components...
Read more >
Jumping mouse cursor fix - YouTube
Windows 10 jumping mouse pointer fix by disabling the touchscreen. jumping cursor fix windows touchscreen monitor. jumping mouse cursor ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found