mac os button repetition code example Example: mac hold down key repeat defaults write -g ApplePressAndHoldEnabled -bool false