Vim
Vim copied to clipboard
Problem with numeric key bindings
- Click thumbs-up 👍 on this issue if you want it!
- Click confused 😕 on this issue if not having it makes VSCodeVim unusable.
The VSCodeVim team prioritizes issues based on reaction count.
BUG REPORT
Environment:
- VSCode Version: 1.15.1
- VsCodeVim Version: 0.10.0
- OS: macOS 10.12.6
What happened:
Using the following configuration:
{
"vim.otherModesKeyBindings": [
{
"before": ["0"],
"after": ["^"]
},
{
"before": ["4"],
"after": ["$"]
}
]
}
Neither of these mappings seem to have any effect.
What did you expect to happen:
I expected 0 to take me to the first non-whitespace character on the current line, and 4 to take me to the line end. Changing either "before" setting to a non-numeric character works as expected.
I can confirm this doesn't work and the first example is one of the handiest mappings to have. 😄
Looks like a dupe of https://github.com/VSCodeVim/Vim/issues/2831