Skip to content

Instantly share code, notes, and snippets.

@Albatrosicks
Last active August 24, 2021 08:57
Show Gist options
  • Save Albatrosicks/c4bb9e037372559fcc538ea44ee6614f to your computer and use it in GitHub Desktop.
Save Albatrosicks/c4bb9e037372559fcc538ea44ee6614f to your computer and use it in GitHub Desktop.
Make sublime text 3 default text editor in macOS
defaults write com.apple.LaunchServices/com.apple.launchservices.secure \
LSHandlers -array-add \
'{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.3;}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment