Skip to content

Instantly share code, notes, and snippets.

@kaishin-r
Created February 19, 2016 09:48
Show Gist options
  • Save kaishin-r/df990641b0a1b8e4a179 to your computer and use it in GitHub Desktop.
Save kaishin-r/df990641b0a1b8e4a179 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/
@joeydsmith
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment