Disable press-and-hold for keys in favor of key repeat
defaults write -g ApplePressAndHoldEnabled -bool false
Set fast keyboard repeat rate
TODO: Set InitialKeyRepeat integer range
defaults write -g KeyRepeat -int 2
defaults write -g InitialKeyRepeat -int 15
Set touchbar(control strip) icons
defaults write com.apple.controlstrip FullCustomized '(
"com.apple.system.group.media",
NSTouchBarItemIdentifierFlexibleSpace,
"com.apple.system.volume",
"com.apple.system.mute",
NSTouchBarItemIdentifierFlexibleSpace,
"com.apple.system.brightness",
"com.apple.system.night-shift",
NSTouchBarItemIdentifierFlexibleSpace,
"com.apple.system.screen-lock",
"com.apple.system.notification-center"
)'
Expaned control strip by default
defaults write com.apple.touchbar.agent PresentationModeGlobal -string "fullControlStrip"
Disable automatic capitalization
defaults write -g NSAutomaticCapitalizationEnabled -bool false
Disable smart dashes
defaults write -g NSAutomaticDashSubstitutionEnabled -bool false
Disable automatic period substitution
defaults write -g NSAutomaticPeriodSubstitutionEnabled -bool false
Disable smart quotes
defaults write -g NSAutomaticQuoteSubstitutionEnabled -bool false
Disable auto-correct
defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false
Enable full keyboard access for all controls
(e.g. enable Tab in modal dialogs)
defaults write -g AppleKeyboardUIMode -int 3
Disable shortcuts to Turn Dock Hiding On/Off
/usr/libexec/PlistBuddy -c "set :AppleSymbolicHotKeys:52:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
Disable shortcuts to Select the previous input source
/usr/libexec/PlistBuddy -c "set :AppleSymbolicHotKeys:60:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
Disable shortcuts to Select next source in input menu
/usr/libexec/PlistBuddy -c "set :AppleSymbolicHotKeys:61:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
Disable shortcuts to Show Spotlight Search
/usr/libexec/PlistBuddy -c "set :AppleSymbolicHotKeys:64:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
Disable shortcuts to Show Finder search window
/usr/libexec/PlistBuddy -c "set :AppleSymbolicHotKeys:65:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
Disable Show Input menu in menu bar
defaults write com.apple.TextInputMenu visible -bool false