Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

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.

     :::bash
     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.

     :::bash
     defaults write -g ApplePressAndHoldEnabled -bool true

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