Last active
April 30, 2025 16:03
-
-
Save roalcantara/2323e5cd42594573bb81df2a8fd6fabc to your computer and use it in GitHub Desktop.
Increase the Key repeat rate in Mac OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # reset the system defaults | |
| # xset r rate | |
| # output the current InitialKeyRepeat`value | |
| defaults read NSGlobalDomain InitialKeyRepeat | |
| # output the current KeyRepeat`value | |
| defaults read NSGlobalDomain KeyRepeat | |
| # disable alternate characters when holding a key | |
| defaults write -g ApplePressAndHoldEnabled -bool false | |
| # normal minimum is 15 (225 ms) | |
| defaults write -g InitialKeyRepeat -int 10 | |
| # normal minimum is 2 (30 ms) | |
| defaults write -g KeyRepeat -int 1 | |
| # reboot to apply the changes | |
| sudo shutdown -r now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment