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):
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:
- Created 6 years ago
- Reactions:6
- Comments:5 (3 by maintainers)
Top GitHub Comments
@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.
@Aetf do you have
foldfix
turned on?