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 to use some other location. In order to sync the settings by using Dropbox, the files should obviously reside inside the Dropbox folder (e.g., 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.
-
Create a new folder inside your Dropbox folder, for example
c:\users\juhap\Dropbox\apps\sublime. -
Move
Packages, Installed Packages and Pristine packagesfrom%APPDATA%\Sublime Text 2to the new folder. -
Create symbolic links for the directories pointing from the Sublime data directory towards your Dropbox folder. In order to do this, you need to start
cmd.exeas Administrator. Navigate to%APPDATA%\Sublime Text 2before 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.