Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save diddeb/e7e63aa3d08edb22fedd2b5ec1d6a429 to your computer and use it in GitHub Desktop.
Save diddeb/e7e63aa3d08edb22fedd2b5ec1d6a429 to your computer and use it in GitHub Desktop.
Sync Sublime Text 3 Settings via iCloud Drive
# Create a directory named "Sublime Text 3 Sync" under iCloud Drive
mkdir ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync
# Enter Sublime Text 3's directory
cd ~/Library/Application\ Support/Sublime\ Text\ 3/
# Move "Installed Packages" directory to iCloud Drive and make a link
mv Installed\ Packages/ ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/Installed\ Packages
# Move "Packages" directory to iCloud Drive and make a link
mv Packages/ ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/Packages/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment