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

Moving up and down the line using <number>j or <number>k is not instantaneous #6830

Closed
pangteypiyush opened this issue Jul 5, 2021 · 2 comments

Comments

@pangteypiyush
Copy link

pangteypiyush commented Jul 5, 2021

Describe the bug
Moving up and down the line using <number>j or <number>k is not instantaneous.

To Reproduce
Steps to reproduce the behavior:

  1. Open a file with 1000s of lines
  2. move up or down using 100j / 500j / 900k

Expected behavior
Cursor moves extremely slowly.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.21.4
  • VSCode version: v1.57.1
  • OS: Linux

Additional context

  1. <number>h/l happens instantly.
  2. <number>gg happens instantly.
  3. Up and down movements are repeated <number> times. But:
    <number>j is effectively min(last line, current line + <number>) gg
    <number>k is effectively max(0, current line - <number>) gg
@pangteypiyush
Copy link
Author

This is related to vim.foldfix. Works perfectly if this is disabled.

@pangteypiyush
Copy link
Author

Duplicate #3351, #2914, #2468

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

No branches or pull requests

2 participants