Skip to content

Instantly share code, notes, and snippets.

@kirykr
Created June 4, 2018 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirykr/9b1daede900289a98bec53bb85ceff60 to your computer and use it in GitHub Desktop.
Save kirykr/9b1daede900289a98bec53bb85ceff60 to your computer and use it in GitHub Desktop.
Sync Sublime Text
Ref: https://packagecontrol.io/docs/syncing#dropbox
I am using Mac. The link above shows you how to sync in different plateforms.
Note: close sublime completely.
1. cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
2. git init
3. touch .gitignore
4. add these link to ignore file
```
Package Control.last-run
Package Control.ca-list
Package Control.ca-bundle
Package Control.system-ca-bundle
Package Control.cache/
Package Control.ca-certs/
```
5. push to git
6. In the new machine, clone it to ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
7. replace the all the contents in the User folder
8. repen the sublime. Done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment