defaults write -g InitialKeyRepeat -int 10
# Fix slow initial key repeat (great for arrow keys)defaults write -g KeyRepeat -int 1
# Fix slow key repeat (also great for arrow keys)defaults write -g ApplePressAndHoldEnabled -bool false
# (Optional) Disable the accent marks overlay when pressing a key for a long time
defaults write -g NSWindowShouldDragOnGesture -bool true
# Drag a window by pressing Control ⌃ Commmand ⌘ + click anywhere in the window
defaults write NSGlobalDomain "NSToolbarTitleViewRolloverDelay" -float "0" # Make file proxy appear immediately (the little icon in the toolbar inside a window that you can drag to move the open file elsewhere)
defaults write com.apple.finder ShowPathbar -bool true
# Finder show path bar
defaults write com.apple.Preview ApplePersistenceIgnoreState YES
# Don't keep open previously previewed files (?)defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
# don't create .DS_Store on network defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# don't create .DS_Store on usb devicesSystem Settings → Battery → Battery → Tick Low power mode # ×2 my battery time, and can't notice any difference in snappiness.
sudo vim /etc/pam.d/sudo_local
and add to the top this line auth include sudo_local
# Using touch id for sudo authentication
System Settings → Siri & Spotlight → Spotlight Privacy… → Add the following paths:
/usr, /bin, /sbin, /opt, /private, /Library
/System/Library
~/.cache
~/Library/{Caches, Logs, Application Support, Containers, Group Containers}
If using iCloud - enable end-to-end encryption (disabled by default)
System settings → Apple ID → iCloud → Set Advanced Data Protection to On. System settings → Apple ID → iCloud → Disable Access iCloud Data on the Web.