Skip to content

Instantly share code, notes, and snippets.

@username1290
Created September 18, 2019 21:16
Show Gist options
  • Save username1290/b36b092dc7a5109583de9a7fb53c2793 to your computer and use it in GitHub Desktop.
Save username1290/b36b092dc7a5109583de9a7fb53c2793 to your computer and use it in GitHub Desktop.
Disable accent long press key
https://apple.stackexchange.com/questions/332769/macos-disable-popup-showing-accented-characters-when-holding-down-a-key
# In macOS, when a key is held down while entering text, a popup is shown which lets one choose between various accented
# forms of the character. To disable this execute the following command-line in the Terminal.app:
defaults write -g ApplePressAndHoldEnabled -bool false
# Now, you'll need to log-out and log back in. This should disable the display of the popup and character typed should
# start repeating when the key is held down.
# If you ever wish to return to this behaviour, execute the following command-line in the Terminal.app:
defaults write -g ApplePressAndHoldEnabled -bool true
# You'll need to log-out and log back in again for the setting to take effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment