-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor jumps erratically before moving vertically #2163
Comments
@Aetf do you have |
Yeah, you are right. Turning off |
@Aetf that's because foldfix is a really jank solution. Check microsoft/vscode#22276 for discussion on api limitations. |
I see. Thanks for the info. From the pull request that introduces the I'm completely unfamiliar with the internals, but is it possible to interpret |
@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. |
So the problem hasn't been solved by now? |
1 similar comment
So the problem hasn't been solved by now? |
The VSCodeVim team prioritizes issues based on reaction count.
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Environment:
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
The text was updated successfully, but these errors were encountered: