visual-studio-codevscodevim

How can I change the delay until a held keypress begins to repeat in VS Code?


I'm using the VS Code Vim extension, and if I want to move down and I hold j for example it will move down once, pause then continue. Is there a way to make it automatically keep going up without that pause?

I've been digging through the settings and Google all morning and I can't see where I can or if I can changes this.

The closest I found to an answer was this post but it did't really help (I am on windows sadly).


Solution

  • I don't think this behaviour is controllable by VS Code or any VS Code extension. If I understand correctly, this behaviour is controlled / configured at the Operating System / Desktop Environment level.

    Also note that in Vim, you can make a command execute multiple times by prefixing it with a number. Ex. To do j 42 times, just do 42j. And to jump to line N, do NG (where N is the line number and G is the literal character G).