s1vdtw
Last Updated: February 25, 2016
·
4.735K
· stevehalford
Bd22fa12d879b47c4b1a5d91eb432055

Sync Sublime Text 2 settings with Dropbox

A lot of people already do this but I can't find a protip for it.

I use Dropbox to sync my Sublime Text 2 plugins, settings etc. across multiple Macs. The same thing worked with Textmate too, and probably a lot of other apps.

First quit ST2, then run these commands in the terminal.

Create a folder

mkdir "~/Dropbox/Application Support"

Move the existing settings folder to Dropbox

mv "~/Library/Application Support/Sublime Text 2" "~/Dropbox/Application Support/Sublime Text 2"

Symlink the folder back to where ST2 expects it to be

ln -s "~/Dropbox/Application Support/Sublime Text 2" "~/Library/Application Support/Sublime Text 2"

Update:
This will also work for Sublime Text 3 but I've found that Dropbox will complain that it can't sync certain files because they are in use and "conflicted copies" will be created for many files. To get around this, I've turned on advanced selective sync in the Dropbox preferences and chosen not to sync Backup, Cache, Index and Local folders.

Say Thanks
Respond

4 Responses
Add your response

5107

This method works well too for syncing between Windows and Mac. Just symlink the 'Data' folder in Windows with the 'Sublime Text 2' folder in Mac.

over 1 year ago ·
7093
94b58803c4b52b789cb8c29fa68dd04b

Other links on the web were only saying to symlink specific folders. Not exactly sure why. I guess I would rather have everything in sync like the above example

over 1 year ago ·
7094
Bd22fa12d879b47c4b1a5d91eb432055

I have had some problems with certain folder since upgrading to Sublime Text 3 - constant complaints from DropBox that certain files are in use, and conflicted copies being created so I've set some folders not to sync now.

I'll find out what they are and update the protip.

over 1 year ago ·
12597
Todd lahman malibu beach 7 14 2004 normal

This may explain the problem with syncing:

https://sublime.wbond.net/docs/syncing

over 1 year ago ·
Filed Under