Vim
Vim copied to clipboard
Cursor position incorrect after jumping to a global mark
Describe the bug When I navigate to an uppercase (global) mark in another file, vscode opens the file but does not set the cursor position correctly. (The cursor stays in its previous position.) Navigating to the mark a second time fixes the issue.
To Reproduce Steps to reproduce the behavior:
- Set an uppercase mark in a file (with
mAfor example) - Move the cursor to another line in the file
- Open a different file
- Navigate to the mark (with
'Afor example)
Expected behavior The cursor should move to the marked line on the first invocation.
Screenshots
https://user-images.githubusercontent.com/702318/191124071-4d0f3848-405e-49f4-a77b-2f6f7fec4173.mov
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.23.2
- VSCode version: 1.71.2
- OS: macOS 12.6