I found out how to disable to the accented character popup for all apps here but I like the popup in my web browser and when typing emails but not for instance while using my terminal or IDE.

Is it possible to enable key repeat for some apps but not others or is it an all or nothing setting?


1 Answer 1


The following command sets the "Global Preference" for the user:

defaults write -g ApplePressAndHoldEnabled -bool false

You can set preferences per-app, with commands such as:

defaults write <com.company.app> ApplePressAndHoldEnabled -bool false


defaults write -app myTerminal ApplePressAndHoldEnabled -bool false

These will override the global setting. However:

Whether the app will respond to the preference may depend on the way that the app has been coded; e.g. to what extent it uses and customizes NSTextView.

  • thank you so much!
    – Jack Denny
    Commented Jan 6, 2023 at 9:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .