-
-
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
<C-a>
increment does not work at 07
#6693
Comments
Thanks - this is because we're interpreting |
<C-a>
increment does not work at 07
It seems currently VsCodeVim treats numbers prefixed with 0x, 0 as hexadecimal, octal respectively, i.e. works as Many people would expect the next increment of 07 to be 08, not 10. |
@yyykt The current version of VSCodeVim does not have "vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<C-a>"],
"after": ["w", "B", "i", "1", "<Esc>", "<C-a>", "w", "B", "x"]
},
{
"before": ["<C-x>"],
"after": ["w", "B", "i", "1", "<Esc>", "<C-x>", "w", "B", "x"]
}
] |
<C-a> behaves the same in vim, changing 07 to 010, so this is not a bug in VSCodeVim. |
Describe the bug
Using the key sequence C-a I expect the count to increment, but at 07 it does not increment to 08
To Reproduce
Steps to reproduce the behavior:
Expected behavior
08 should be shown, because that is the next increment of 07
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: