If you’re into coding in any language, and you’re not living under a rock, you’ve probably heard about Sublime Text 2 — the new darling of text editing.
One thing that I find lacking with Sublime is that I need to reconfigure it every time I set it up on a new computer.
The simple solution is to use Dropbox to do all the heavy lifting of Cloud synchronization and use the native linking capabilities of your OS to load the configuration from the synced directory.
I already have a directory inside dropbox that I call Apps and it used mainly to store application settings and various small portable apps, I recommend you to do the same if your going to follow this technique.
Step 1
Your configuration files are located in Sublime Text 2/Data/Packages/User — this is the directory you’re going to synchronize, locate that directory, and create a link from it to your Dropbox folder.
On Windows you’ll have to use mklink /D "X:\Dropbox\Apps\Sublime" "X:\Apps\Sublime\Data\Packages\User" where the first parameter is the NOT YET EXISTING directory in your Dropbox folder, and the second param is the directory where the Sublime configuration resides.
On Linux I guess you don’t need my help, but in any case, use ln -s /path/to/source/directory /path/to/target/directory to link the two directories.
Step 2
After syncing your settings with dropbox, now link Sublime in other computers by deleting the existing configuration folder and linking the directory in your dropbox folder to your Sublime Data/Pacakges/User directory exactly like in the previous step but the target and sources are switching places.
