Enable Repeating Keys in VS Code on macOS

# VS Code
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false

# VS Code - Insiders
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false


  1. Run the first command above to enable repeating keys in VS Code
  2. If you use VS Code Insiders1, run the second command as well
  3. You may need to restart VS Code, but repeating keys should now be enabled

Last Updated: Feb 27th, 2022