Sync SublimeText2 Settings with Dropbox

Overview

In order to sync SublimeText2 settings with Dropbox, you need to symlink these folders of SublimeText to your dropbox.

  • Packages
  • Installed Packages
  • Pristine Packages

On your main machine

cd to your dropbox folder where your want to symlink to.

cd ~/Dropbox/99_Sync/SublimeText
ln -s "/Users/your_user_name/Library/Application Support/Sublime Text 2/Packages/" Packages
ln -s "/Users/your_user_name/Library/Application Support/Sublime Text 2/Installed Packages/" 'Installed Packages'
ln -s "/Users/your_user_name/Library/Application Support/Sublime Text 2/Pristine Packages/" 'Pristine Packages'

On your second machine

cd "/Users/your_user_name/Library/Application Support/Sublime Text 2"
rm -rf Installed\ Packages
rm -rf Packages
rm -rf Pristine\ Packages
ln -s ~/Dropbox/99_Sync/SublimeText/Installed\ Packages 'Installed Packages'
ln -s ~/Dropbox/99_Sync/SublimeText/Pristine\ Packages 'Pristine Packages'
ln -s ~/Dropbox/99_Sync/SublimeText/Packages Packages
September 22, 2012 SublimeText


Qihuan Piao

Qihuan Piao

(aka kinopyo) is Chinese based in Tokyo. Software writer. He shares stories inspired him this blog. His infamous line - "I feel calm when I kill those monsters, or people (in game)" shocks his friends deeply.
He also writes in Japanese and Chinese.