ref: https://github.com/sb2nov/mac-setup
System settings > Trackpad > Point & Click
Enable > Tap to click with one finger
Enable > Secondary Click with two fingers
Uncheck > Lookup data detectors
Enable > force click and haptic feedback
System settings > Keyboard > Keyboard Shortcuts > Mission Control
Disable > Show Desktop (F11)
System Settings > Keyboard
“Press 🌐 key to and select “Do Nothing”
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
Open the terminal and create the folder where you would like to store your screenshots: mkdir -p /path/to/screenshots/
Then run the following command: defaults write com.apple.screencapture location /path/to/screenshots/ && killall SystemUIServer
brew install --cask karabiner-elements
brew install --cask hammerspoon
- run hammerspoon
- code ~/.hammerspoon/init.lua
- use init.lua contents
- add a complex key binding on karabiner-elements to enable hyper = cmd + opt + ctrl + shift
- Allow Karabiner-Elements on System Settings > Privacy & Security > Input Monitoring
- Allow Hammerspoon on System Settings > Privacy & Security > Accessibility
sudo codesign --force --deep --sign - "/Applications/Visual Studio Code.app"
ref: https://apple.stackexchange.com/questions/3271/how-to-get-rid-of-firewall-accept-incoming-connections-dialog