-
-
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
vim.mode == 'Normal'
in key binding is triggering in replace mode
#7256
Comments
Hello, From experience remapping vim keys in "vim.normalModeKeyBindingsNonRecursive": [
{ "before": ["L"], "commands": ["workbench.action.nextEditorInGroup"] },
] I hope it helped Note that I used the NonRecursive command just by habit but in this case it will not change the end result. |
Cool that seems to have worked. Also FWIW |
Do the yellow squiggle appear because it is a duplicated setting? If you hover your mouse over the squiggle what does it say? |
I am stupid... indeed you are right :) |
actually r is in the normal mode,replace mode you have to press R |
I have the following key binding:
to use vim keys to switch editors. This works perfectly, however I noticed that when I hit
r
to replace a character thenshift+l
this shortcut will be triggered. I am expecting vim to not be inNormal
mode in this case but insteadReplace
mode (or possiblyCommandlineInProgressMode
orOperatorPendingMode
although I'm not exactly if either or none of these apply as the documentation doesn't really make clear when these modes are triggered).Am I doing something wrong here?
The text was updated successfully, but these errors were encountered: