Skip to content
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

Move the cursor to distinction directly under hjkl + num key #8169

Open
hilaolu opened this issue Dec 17, 2022 · 1 comment
Open

Move the cursor to distinction directly under hjkl + num key #8169

hilaolu opened this issue Dec 17, 2022 · 1 comment

Comments

@hilaolu
Copy link

hilaolu commented Dec 17, 2022

Is your feature request related to a problem? Please describe.
Hi, I used to use hjkl + num key for moving cursor multiple lines in terminal.
In VSCodeVim, instead of move the cursor directly to distinction, it has 'transition state', that is the cursor shows transiently in its path. It seems that the extension handle hjkl + num simply by replaying hjkl for num times. I suppose this is a little laggy.
Describe the solution you'd like
Just move the cursor to distinction directly under hjkl + num.
Describe alternatives you've considered

Additional context

@rafaelbdb
Copy link

I noticed the same issue here. Very annoying. One of the most important advantages of using Vim should be SPEED.

Quite probably it's just repeating the movement multiple times, as @hilaolu said.

Instead, the code should calculate the new position with something like:

<new_position> = <current_line> +/- <amount_typed>

and if the new_position is a positive integer, use the command <new_position>G to move instantly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants