Skip to content

Instantly share code, notes, and snippets.

@NurdinDev
Last active January 26, 2017 12:39
Show Gist options
  • Save NurdinDev/d75a696cc2aa96c87362b192f560190d to your computer and use it in GitHub Desktop.
Save NurdinDev/d75a696cc2aa96c87362b192f560190d to your computer and use it in GitHub Desktop.
####### FIREST
mkdir $HOME/Dropbox/sublime-text-3/
mv "$HOME/Library/Application Support/Sublime Text 3/Packages" "$HOME/Dropbox/sublime-text-3/"
mv "$HOME/Library/Application Support/Sublime Text 3/Installed Packages" "$HOME/Dropbox/sublime-text-3/"
######## Then
run this command in Terminal in every other computer you want synchronized with
the Settings that we have put in Dropbox.
DSTPATH="$HOME/Library/Application Support/Sublime Text 3"
DROPBOX_PATH="$HOME/Dropbox/sublime-text-3"
rm -rf "$DSTPATH/Installed Packages"
rm -rf "$DSTPATH/Packages"
mkdir -p "$DSTPATH"
ln -s "$DROPBOX_PATH/Packages" "$DSTPATH/Packages"
ln -s "$DROPBOX_PATH/Installed Packages" "$DSTPATH/Installed Packages"
Thanks xMarekaccross for the tip "http://skrobul.tumblr.com/post/63912356219/sublimetext-3-keeping-your-settings-in-sync".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment