From 80de38da0dd29e6ea9d23599f4305e740c2e68f0 Mon Sep 17 00:00:00 2001 From: Marc Rendl Ignacio Date: Thu, 21 Sep 2017 15:51:31 +0800 Subject: [PATCH] Adjusts KeyRepeat & InitialKeyRepeat to be usable on macOS Sierra Looks like they've changed the scale in macOS Sierrra. `KeyRepeat -int 0` seems to be too impractical. I can't even hold backspace because it erases too much. Since you've taken this from another repo, it's worth referencing the same issue in that repo: mathiasbynens/dotfiles#687 --- bin/macos | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/macos b/bin/macos index 57cb126a..0ec2f9a3 100755 --- a/bin/macos +++ b/bin/macos @@ -56,7 +56,8 @@ defaults write NSGlobalDomain AppleFontSmoothing -int 2 defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false # Set a blazingly fast keyboard repeat rate -defaults write NSGlobalDomain KeyRepeat -int 0 +defaults write NSGlobalDomain KeyRepeat -int 1 +defaults write NSGlobalDomain InitialKeyRepeat -int 15 # Disable auto-correct defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false