Skip to content

Instantly share code, notes, and snippets.

@jaakkolehtonen
Last active September 29, 2017 08:03
Show Gist options
  • Save jaakkolehtonen/564587e889e2e277219ff657e2b0aade to your computer and use it in GitHub Desktop.
Save jaakkolehtonen/564587e889e2e277219ff657e2b0aade to your computer and use it in GitHub Desktop.
Keep @sublimehq in sync via @dropbox (OS X)
# On your first machine, use the following instructions
# If your Dropbox folder is not in the default location, you'll need to change ~/Dropbox to your location
# 1. Close Sublime Text
# 2. Open Terminal/iTerm
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
# Add a new directory for Sublime inside ~/Dropbox folder
mkdir ~/Dropbox/Sublime
# Move User folder to ~/Dropbox/Sublime/ folder we created in previous step
mv User ~/Dropbox/Sublime/
# Set up symlink to ~/Dropbox/Sublime/User folder
ln -s ~/Dropbox/Sublime/User
# On your other machine(s), use the following instructions
# If your Dropbox folder is not in the default location, you'll need to change ~/Dropbox to your location
# 1. Close Sublime Text
# 2. Open Terminal/iTerm
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
# Remove default User folder created by Sublime Text
rm -r User
# Set up symlink to ~/Dropbox/Sublime/User folder
ln -s ~/Dropbox/Sublime/User
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment