- First, adjust
Key RepeatandDelay Until Repeatin Keyboard setting. - Disable press and hold.
defaults write -g ApplePressAndHoldEnabled -bool false
Key Repeat and Delay Until Repeat in Keyboard setting.defaults write -g ApplePressAndHoldEnabled -bool false