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:
- “Default File Type” - https://github.com/spadgos/sublime-DefaultFileType
- “Package Control” - https://github.com/wbond/sublime_package_control
- “SideBarEnhancements” - https://github.com/titoBouzout/SideBarEnhancements
- “SplitScreen” - https://github.com/spadgos/sublime-SplitScreen
- “SublimeCodeIntel” - https://github.com/Kronuz/SublimeCodeIntel
- “Theme - Soda” - https://github.com/buymeasoda/soda-theme
- “Themr” - https://github.com/skt84/Themr