Skip to content

Instantly share code, notes, and snippets.

@DaniruKun
Last active May 14, 2022 15:28
Show Gist options
  • Save DaniruKun/ad47501af0996b80cb8752687f8146ad to your computer and use it in GitHub Desktop.
Save DaniruKun/ad47501af0996b80cb8752687f8146ad to your computer and use it in GitHub Desktop.
Disable Apple press and hold for VS Code
defaults delete -g ApplePressAndHoldEnabled
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 write com.microsoft.VSCodeExploration ApplePressAndHoldEnabled -bool false # For VS Codium Exploration users
# If the domain is wrong or you are not usre, you can also do:
# defaults write -app 'Visual Studio Code' ApplePressAndHoldEnabled -bool false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment