ST2: https://github.com/facelessuser/sublime ... r_files.py
ST3: https://github.com/facelessuser/sublime ... r_files.py
Example setting file is the same for either ST2 or ST3. An empty one gets created by the plugin automatically, but you can look at mine to see how I use it.https://github.com/facelessuser/sublime ... e-settings
Basically I store my User folder on Github. So if I install Sublime Text on a computer, I simply clone my User folder to replace the default User folder and then fire up Sublime Text and install package control, restart, and package control starts downloading all of my plugins.
OsSpecificSettings plugin allows me to define which files to backup by running the backup command. That way I can backup different package control settings that download different plugins for different platforms (amongst other things). That way, when I install a Sublime Text on my system, and drop in my User folder from github and fire up Sublime Text, OsSpecificSettings notices that I am missing the backed up files and starts copying them to the appropriate places automatically. Then I just install PackageControl, and Package Control pulls down all my plugins and everything works just like it should (though I may have to restart after doing all of this). If I change a preference file, menu, or something else that I usually back up, I just run the backup command and commit back to github. (Keep in mind I only store the backed up version of my OS specific files, and not the functional one; you can see what I mean by exploring the repo the files are in above).
One thing to notice, on backup you can rename specific files; I always rename menu files because they are visible no matter how many folders they are buried down, so I just change their extension (you can see I do this in the example settings file; the rename key is what renames files).
Another thing to note, if you plan on modifying common files in your User folder (files that are not OS specific) make sure you do a sync before to prevent conflicts.
Anyways, I am sure all of this could be improved, but I have been using this for quite some time and have found it generally useful and it helps separate problematic OS specific stuff for me. Feel free to use it, comment on it etc. I cooked it up for personal use, but I am willing to add features if I think they would be beneficial. Because this is not an official released plugin, I may be picky on what I actually spend time on implementing.