Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 734
Mikko Ohtamaa Avatar asked May 07 '13 06:05

Mikko Ohtamaa


People also ask

How do I export sublime settings?

From the available options select 'Preferences: Package Control Settings - User' to open that file. Copying this folder and replacing the Sublime Text 3 folder in a fresh Sublime install with this one should install all packages and replicate any other settings you have.

Where are Sublime Text packages installed?

sublime-package, and any files in the <data_path>/Packages/Python/ directory will override those stored in the . sublime-package file. In general, <executable_path>/Packages/ is for packages that ship with Sublime Text, and <data_path>/Installed Packages/ is for packages installed by the user.

How do I see what packages are installed in sublime?

Sublime Text > Preferences > Package Settings We will see a list of all the packages that we installed.


2 Answers

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).

like image 108
skuroda Avatar answered Sep 22 '22 09:09

skuroda


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

like image 24
wei Avatar answered Sep 20 '22 09:09

wei