You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With the Vim extension enabled, if I have a file open where I've folded some block of code (that I can see on screen) and my cursor is below this folded block, then moving my cursor up and down lines also makes the screen move. The screen moves so that the cursor is always in the center. This happens in both insert and visual modes. However, this does not happen if my cursor is above the folded block of code, and it stops when the folded block moves out of view.
This causes the screen to jump around, and is quite distracting.
To Reproduce
Steps to reproduce the behavior:
Open any file with blocks of code that can be folded, and that is long enough. For example, open a new file and copy the following block into it 100 times:
test
test test
test test test
test test
Scroll to the middle of the file, and then fold one of the blocks.
Now place the cursor below the folded block, and try to move the cursor downwards.
See error.
Expected behavior
I expect the cursor to move down, but the screen/view to stay the same. Instead, the screen/view scrolls down, and the cursor remains in the center of the screen.
Environment
Extension (VsCodeVim) version: 1.13.0
VSCode version: 1.43.0
OS: Windows 10
The text was updated successfully, but these errors were encountered:
Describe the bug
With the Vim extension enabled, if I have a file open where I've folded some block of code (that I can see on screen) and my cursor is below this folded block, then moving my cursor up and down lines also makes the screen move. The screen moves so that the cursor is always in the center. This happens in both insert and visual modes. However, this does not happen if my cursor is above the folded block of code, and it stops when the folded block moves out of view.
This causes the screen to jump around, and is quite distracting.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the cursor to move down, but the screen/view to stay the same. Instead, the screen/view scrolls down, and the cursor remains in the center of the screen.
Environment
The text was updated successfully, but these errors were encountered: