Open AbhinavBajaj opened 3 years ago
Can you provide your config please?
Can you provide your config please?
Updated issue, thanks for looking into it
Any update on this?
The issue is these bindings:
{
"before": [
"j"
],
"commands": [
{
"command": "accelerated.cursorDown"
}
]
},
{
"before": [
"k"
],
"commands": [
{
"command": "accelerated.cursorUp"
}
]
},
When you map a key to a VSCode command, we don't call that command [count]
times. Maybe we should? In this case, though, it wouldn't do what you want, because it'll act as if you hit j
or k
15 times very quickly, and the other plugin would move your cursor multiple times for the last handful, so you'll go up/down more than 15 lines.
Commands like number + j or number + k take you to the wrong line number.
Steps to reproduce
1) Open any file > 20 lines of code 2) In Normal mode type 14j or 14k (use any number greater than 12) 3) Notice how the cursor jumps more than 14 lines
Please let me know if you need more steps to reproduce
Cursor on absolute line 43
Command ran 14k
Technical details:
VSCode Version: 1.55.2 VsCodeVim Version: 1.20.0 OS: MacOS 11.2.3
settings.json