diff --git a/.osx b/.osx index b0c4ad2..f027ef3 100755 --- a/.osx +++ b/.osx @@ -74,6 +74,9 @@ defaults write NSGlobalDomain KeyRepeat -int 1 # Disable auto-correct defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false +# Swap capslock and escape key +hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc": 0x700000039, "HIDKeyboardModifierMappingDst": 0x700000029}]}' + ############################################################################### # Screen # ###############################################################################