The top answer on SO doesn't work for me.
I'm trying to navigate my file faster, but if I hold either j
or k
or any other vim navigation key it doesn't do the repeat command (it doesn't fly past words, it gets stuck)
The top answer on SO doesn't work for me.
I'm trying to navigate my file faster, but if I hold either j
or k
or any other vim navigation key it doesn't do the repeat command (it doesn't fly past words, it gets stuck)
That works for me. Please check the instructions below:
To enable key-repeating execute the following in your Terminal and restart VS Code:
$ defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false # For VS Code
$ defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false # For VS Code Insider
$ defaults write com.visualstudio.code.oss ApplePressAndHoldEnabled -bool false # For VS Codium
$ defaults delete -g ApplePressAndHoldEnabled # If necessary, reset global default
We also recommend increasing Key Repeat and Delay Until Repeat settings in System Preferences -> Keyboard.
Like real vim, VSCodeVim will take over your control keys. This behaviour can be adjusted with the useCtrlKeys
and handleKeys
settings.