-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Bug with using bookmarks extension #7288
Comments
this bug still there...any workarround for this? |
Rebinding hjkl to the native VSCode navigation commands worked around the issue for me, but other VSCodeVim commands that rely on knowing the cursor position are still broken. For example, if you navigate to a bookmark and then use "vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["h"],
"commands": ["cursorLeft"]
},
{
"before": ["j"],
"commands": ["cursorDown"]
},
{
"before": ["k"],
"commands": ["cursorUp"]
},
{
"before": ["l"],
"commands": ["cursorRight"]
}
] |
VS Code version:
Vim extension: v1.27.2 Bookmarks extension: v13.5.0 If using Bookmarks command to jump to a bookmark location, then press VIM cursor navigation, like 'h', 'j', 'k', 'l', the cursor position from VIM extension is still the one before jumping to the bookmark location. I see the issue was raised in year 2021. Is there any update? Thanks. |
Describe the bug
cursor does not stay at bookmarked location after coming back
To Reproduce
Steps to reproduce the behavior:
I use vscode in VIM mode, with the popular vim extension. Now that my cursor is back at my bookmarked location, I want to move one character to the right, be pressing l. Instead of the cursor moving to line 4, Col 21, it first jumps back to wherever I was when I triggered the "bookmarks: jump to next" command (line 10, Col 2 in this example). It does my right movement, but not on the right line. I end up at line 10, Col 3
Additional context
alefragnani/vscode-bookmarks#338
The text was updated successfully, but these errors were encountered: