Select theme appearance

MacOS Setup Tricks

Increase key repetitions, use your fingerprint as sudo password and other MacOS tricks

  • Tags:  MacOS, Setup
  • Last updated:  

Use your fingerprint as sudo password

Add auth sufficient pam_tid.so to /etc/pam.d/sudo to use your fingerprint to allow sudo

Increase key repetition for VIM and general usecases

Enable key repetition

defaults write -g ApplePressAndHoldEnabled -bool true

Increase repetition

defaults write -g InitialKeyRepeat -int 12 # normal minimum is 15 (225 ms), sets delay before first repeat
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms), sets rate of repetition