How to enable fast key repeat on macOS

Fast key repeat can save a lot of time especially for developers.

defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10

Now restart your computer and test. It’s best to test by hold down the delete key and see how fast it deletes.