Anyways, I have a lot of snippets and macros and whatnot, so when I update I would like to have the new changes but still keep all my customizations intact.
What I do right now is backup sublime text (in %appdata%) and then move over everything manually, but is a tedious process.
I was thinking maybe just create a package for my own customizations and that way anytime I create something new just update the package and that way with updates I still have all my stuff + the new things from the updates. Also it makes it easy to share stuff with the community.
Any advice on how to accomplish this Jon? or anybody else?
How do I create a sublime-package?
Tips are welcome, I think this might be a good candidate for FAQs too
P.S: I am aware that sublime is portable (viewtopic.php?f=3&t=97) but that still doesn't solve what I mentioned above.
EDIT: Found the answer!
When you install Sublime Text, a bunch of *.sublime-package files get added to C:\Program Files\Sublime Text\Pristine Packages. Each of these is just a simple zip file.
When you run Sublime, it compares all these packages with the ones currently in:
C:\Documents and Settings\<username>\Application Data\Sublime Text\Pristine Packages
Each new or modified package gets installed, also to the Application Data directory, but under the Packages folder. The basic process of upgrading/installing a package is to compare all the files in the old vs. new ones, and replace the on disk versions. Files in the older package but not the newer are removed.
There's also no easy way to create new packages yet, other than creating a new directory under Application Data\Sublime Text\Packages, and zipping it up.
That explains a lot now