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
Jumping to a mark from another part of the file should center the view around the mark (as if you did zz after the jump). Currently, the mark is brought just into view.
To Reproduce
Steps to reproduce the behavior:
Place a mark with ma
Scroll up (or down) far enough so that the mark is off screen
Jump to the mark with 'a
Observe that it is at the bottom (or top) of the view
Expected behavior
The view should be centered around the mark. Actually, vim seems to only do this when the mark is more than X (for some X I haven't bothered to figure out) lines out of view (or maybe away from current position). I'd be happy with a simple "out of view" check, though.
Environment (please complete the following information):
Extension (VsCodeVim) version: 1.2.0
VSCode version: 1.32.3
OS: Windows 10
The text was updated successfully, but these errors were encountered:
Describe the bug
Jumping to a mark from another part of the file should center the view around the mark (as if you did
zz
after the jump). Currently, the mark is brought just into view.To Reproduce
Steps to reproduce the behavior:
ma
'a
Expected behavior
The view should be centered around the mark. Actually, vim seems to only do this when the mark is more than X (for some X I haven't bothered to figure out) lines out of view (or maybe away from current position). I'd be happy with a simple "out of view" check, though.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: