Skip to content

Instantly share code, notes, and snippets.

@Hazer
Forked from wishfoundry/gist:7036457
Last active January 6, 2022 14:06
Show Gist options
  • Save Hazer/94ac34e4e921ba4097fb588b41e5a2d5 to your computer and use it in GitHub Desktop.
Save Hazer/94ac34e4e921ba4097fb588b41e5a2d5 to your computer and use it in GitHub Desktop.
Set OSX default text editor to sublime text 4 instead of TextEdit
defaults write com.apple.LaunchServices LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.4;}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment