Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way in sublime text 2 to setup specific configurations for different projects. My personal projects use different spacing and coding standards than my work projects and I hate having to change these configurations when I switch projects. I know that I can change settings - but I'd also like to be able to disable plugins and change key bindings.

share|improve this question

Here is a good place to start. Open Project > Edit Project, assuming you have already saved the project. You can add settings to that file so that they are project specific. However, syntax specific settings will override them. I don't think it is possible to do project specific key bindings.

"settings":
{
    "tab_size": 4, // tab spacing
    // As stated by tamakisquare, it is not possible to disable a plugin for a certain project
    //"ignored_packages":
    //[
    //    "Vintage" // to disable a plugin
    //]
}
share|improve this answer
    
Yeah, that's what I figured. There's no way to set custom key bindings or plugin settings per project. Hopefully in the next release. – Logan Bailey Jan 26 '13 at 0:18
    
Project specific plugin settings would probably have to be set up by the plugin author. I doubt it's easy, but worth asking on github. – d_rail Jan 26 '13 at 0:58
    
Found out you can turn off packages for specific projects. So now its just key bindings. I guess you could add the package as a key binding. – Logan Bailey Jan 26 '13 at 4:28
3  
@d_rail - "ignored_packages" doesn't work when you place it in per-project settings. I have tried it myself and it doesn't work. This thread on Sublime Forum validates what I said. I hope this feature is added to the soon-coming version 3. – tamakisquare Feb 8 '13 at 8:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .