Sync Sublime configs with iCloud by releu

Quit #sublime.

Move files to #icloud dir and symlink it.

mv ~/Library/Application\ Support/Sublime\ Text\ 2/ ~/Library/Mobile\ Documents/
ln -s ~/Library/Mobile\ Documents/Sublime\ Text\ 2/ ~/Library/Application\ Support/

Run Sublime!

On your another macs just do:

rm -rf ~/Library/Application\ Support/Sublime\ Text\ 2/
ln -s ~/Library/Mobile\ Documents/Sublime\ Text\ 2/ ~/Library/Application\ Support/

Similar posts

Comments

kirs commented 7 months ago

Ab074ca0a48f06ab110c374fc7db258e?size=52

Does it work ok? I prefer Dropbox to store ST2 settings because it has status of uploads. And BTW, generally iCloid doesn't provide any official API to store usual files...

releu commented 7 months ago

757fb0d5ec7560b6f25f5bd98eadc020?size=52

It works for me

credford commented about 1 month ago

91dc235d8777db6be9ce7ccbd3868f8c?size=52

I had to link it like this: sudo ln -s "~/Library/Mobile Documents/Sublime Text 2/" "~/Library/Application Support/Sublime Text 2"

credford
kirs
releu