Enable/Disable Key repeating in macos

# run the following command in terminal
defaults write -g ApplePressAndHoldEnabled -bool false
# then restart