Published

27 January 2012
Permalink
Synchronising your Sublime Text 2 preferences with Dropbox

I use Sublime Text 2 both at work and at home, and it’s hard to manually keep my settings/packages in sync.

I decided to use Dropbox to keep my packages/preferences for Sublime Text 2 in one place, and then I created a symbolic link from the Dropbox directory to the Application Support directory for Sublime Text 2:

Mac OS (and Linux)

ln -sfF ~/Dropbox/Application\ Settings/Sublime\ Text\ 2/Packages/ ~/Library/Application\ Support/Sublime\ Text\ 2/Packages

This command will create a symbolic link of the Packages directory stored in my Dropbox in the Sublime Text 2 directory, meaning that any computer I set up in this way will use the same settings/packages.

My example above is for Mac OS X, as that’s the OS I use, however this trick will work for Windows too:

Windows

mklink /D “C:\Users\Max\AppData\Roaming\Sublime Text 2\Packages” “C:\Users\Max\Dropbox\Application Settings\Sublime Text 2\Packages"

I imagine the ln command is similar on Linux as it is on OS X.

The packages I’m using:


blog comments powered by Disqus