enable key repeat on macos code example Example: mac hold down key repeat defaults write -g ApplePressAndHoldEnabled -bool false