Sublime Forum

Factory settings vs. User Over-rides? Multiple Data Dirs?

#1

Is there any way to have Sublime use multiple locations for the Data directory?

We would like to put sublime and our plugins into our version control system so that people can get plugin updates as we make them. Unfortunately, if we do this, the user data that generally resides in the Documents and Settings, or User directory, now must reside in our version control tree. Also, this means we can’t really provide key bindings because that would force everyone to use the same setup.

After experimenting with the thumbdrive and standard version of Sublime, I think what we want is a hybrid that uses the thumbdrive version’s Data directory as a starting point, and then the User directory to pull over-rides from.

Thanks,
-Judah

0 Likes

#2

You can create a single directory under Packages/, and put that into version control. Files such as “Base File.sublime-settings”, “Default.sublime-keymap”, etc, may be placed in any package - they get merged together.

0 Likes

#3

Ok. I’ll give that a try.

In order to load our existing python codebase we are using a sitecustomize file in the root of the Sublime directory for initialization. Is there any reason we should not do this?

Thanks agian,
-Judah

0 Likes