-
Notifications
You must be signed in to change notification settings - Fork 42
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
Screen Line/Character movement support #116
Comments
Would definitely like to see this added! 👍 |
A workaround for now regarding The keybindings below will make j and k behave like Ref: My pull request to VSCodeVim VSCodeVim/Vim#3623 {
"key": "up",
"command": "cursorUp",
"when": "editorTextFocus && amVim.mode == 'NORMAL' && !inDebugRepl && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible"
},
{
"key": "down",
"command": "cursorDown",
"when": "editorTextFocus && amVim.mode == 'NORMAL' && !inDebugRepl && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible"
},
{
"key": "k",
"command": "cursorUp",
"when": "editorTextFocus && amVim.mode == 'NORMAL' && !inDebugRepl &&!suggestWidgetMultipleSuggestions && !suggestWidgetVisible"
},
{
"key": "j",
"command": "cursorDown",
"when": "editorTextFocus && amVim.mode == 'NORMAL' && !inDebugRepl && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible"
} |
@aioutecism I will test this for a while and if it continues to work well, I would open a pull request documenting this in the readme, if you'd be open to that. |
@karlhorky Thank you for this. I’m not sure this will work for commands such as ‘dj’. Have you get it to work as expected? |
Yes, this is a caveat of this approach, motions like |
Support for |
We added screen line/character movement command in Visual Studio Code in July. The commands is like
More details are listed in microsoft/vscode#2771 . Leveraging thse commands, following Vim commands can be implemented real quick
The text was updated successfully, but these errors were encountered: