Skip to content

Instantly share code, notes, and snippets.

@unlux
Created August 27, 2025 13:53
Show Gist options
  • Select an option

  • Save unlux/a877ec3660e6d63725a38d185952b227 to your computer and use it in GitHub Desktop.

Select an option

Save unlux/a877ec3660e6d63725a38d185952b227 to your computer and use it in GitHub Desktop.
https://vimforvscode.com/enable-key-repeat-vim
macOS
To enable key repeat on mac for VSCode + Vim, run the following commands in the Terminal:
# For VSCode
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
# For VSCode Insiders
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false
# For VSCodium
defaults write com.visualstudio.code.oss ApplePressAndHoldEnabled -bool false
# To enable global key-repeat
# this is helpful if you're using Vim in a PWA like code-server
defaults write -g ApplePressAndHoldEnabled -bool false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment