Using Dropbox to sync Sublime Text settings across Windows computers

Sublime Text stores settings and packages in %APPDATA%\Sublime Text 2 folder by default. Quick search did not reveal any way of forcing it use some other location. In order to sync the settings by using Dropbox, the files should obviously reside inside the Dropbox folder (eg c:\users\juhap\Dropbox)

The following instructions are written for Sublime Text 2 (beta) and Windows 7. Some older versions of Windows might not have the mklink -command that is used to create a symbolic link.

  1. Create a new folder inside your Dropbox folder, for example c:\users\juhap\Dropbox\apps\sublime
  2. Move Packages, Installed Packages and Pristine packages from %APPDATA%\Sublime Text 2 to the new folder
  3. Create symbolic links for the directories pointing from the Sublime data directory towards your Dropbox folder. In order to do this, you need start cmd.exe as Administrator. Navigate to %APPDATA%\Sublime Text 2 before executing the following commands:
    mklink /D "Installed Packages" "C:\Users\juhap\Dropbox\apps\sublime\Installed Packages"
    mklink /D "Packages" "C:\Users\juhap\Dropbox\apps\sublime\Packages"
    mklink /D "Pristine Packages" "C:\Users\juhap\Dropbox\apps\sublime\Pristine Packages"

And that’s it.