🥲Sync sublime text packages & user settings across devices.

https://utkarsh9891.github.io/PackageSync/

{
	"gist_id": "71b37546d15b84d52e374ec35c672951",
	"access_token": "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"
}

https://gist.github.com/phamngoctuong/71b37546d15b84d52e374ec35c672951

Despite DropBox, you can simply use Git to sync Sublime Text settings and Package Control Packages:

  1. Create a repository (e.g. on GitHub)

  2. Create a gitignore file with the following content:

    # Ignore everything...
    *
    # ... except preferences and package list
    !.gitignore
    !Preferences.sublime-settings
    !Package Control.sublime-settings
  3. Set up the created repository in the user directory (Windows 10: ~/AppData/Roaming/Sublime\ Text\ 3/Packages/User, Ubuntu: ~/.config/sublime-text-3/Packages/User) of the first computer with the following Git commands:

    $ git init
    $ git remote add origin <repository url>
    $ git fetch
    $ git commit -am "added: settings and packages"
    $ git push
  4. Set up the repository on all other computers (the last line overwrites the current settings with those from the repository):

    $ git init
    $ git remote add origin <repository url>
    $ git fetch
    $ git reset --hard origin/master

Now you just have to pull/push changes from the repository to have your settings and packages synchronized. In addition you can sync the settings with the Git Package for Sublime Text. Here you don’t have to switch to a Git Shell to pull or push the changes but you can do it right in Sublime Text.

See this article on Medium for further information.

Last updated