Skip to content

Instantly share code, notes, and snippets.

@Zlass
Forked from hofmannsven/README.md
Last active August 20, 2019 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zlass/36b2ca8a2b3d658f8018a6d44829eb5b to your computer and use it in GitHub Desktop.
Save Zlass/36b2ca8a2b3d658f8018a6d44829eb5b to your computer and use it in GitHub Desktop.
Increase key repeat rate on macOS

Increase key repeat rate on macOS

Settings: System Preferences » Keyboard » Key Repeat/Delay Until Repeat

Use the commands below to increase the key repeat rate on macOS beyond the possible settings via the user interface. The changes aren't applied until you restart your computer.

Source: https://apple.stackexchange.com/a/83923

# Find App Bundle Id
osascript -e 'id of app "Visual Studio Code"'
# Disables Accent/Alternative-Characters on hold for a bundle
defaults write <BUNDLE_ID> ApplePressAndHoldEnabled -bool false
# Sets how fast keys repeat when held down
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment