Ben Chuanlong Du's Blog

It is never too late to learn.

Enable and Disable Key Repeating in macOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Run the following command in terminal and then restart your Mac to enable key repeating by pressing and holding.

    defaults write -g ApplePressAndHoldEnabled -bool false
    
  2. Run the following command in terminal and then restart your Mac to disable key repeating by presing and holding.

    defaults write -g ApplePressAndHoldEnabled -bool true
    

For more details please refer to How to Enable Key Repeating in macOS .

Comments