Mikko Ohtamaa
Mikko Ohtamaa

Reputation: 83438

Exporting Sublime Text configuration and installed packages

I have spent considerable time to tune up Sublime Text 2 configs. Now I would want to share my configurations (one file) and installed packages list with my friend. What would be the best way to do this? Manually pick related folders in Packages and zip them or something else? Preferably I'd like to create an automated script which could be copy-pasted to my friend and others.

My friend is using Linux. I am using OSX, which may cause some extra problems.

Upvotes: 82

Views: 38565

Answers (3)

wei
wei

Reputation: 3482

Package control has a good doc talking about how to sync Sublime settings and install packages: https://packagecontrol.io/docs/syncing

Upvotes: 5

Gregor
Gregor

Reputation: 1

Using Windows

Open a new Command Prompt and type the following at the command line:

cd "C:\Users\<name>\AppData\Roaming\Sublime Text 3\Installed Packages" dir

Then copy and paste to an editor (e.g. Sublime Text) and filter out the relevant parts. Not great but working.

Upvotes: 0

skuroda
skuroda

Reputation: 19744

If you are using Package Control, send your friend Package Control.sublime-settings. In fact, the easiest way to transfer settings between machines is to move the User package between machines. This, in combination with package control, makes setting up on a new machine relatively quick and painless. The only issues your friend might have is mismatched key binding or other system specific settings. These files have the notation some_name (platform).extension. Other than that, I wouldn't forsee any issues (unless you are using OS X specific plugins).

Upvotes: 118

Related Questions