berfarah / LESS-build-sublime

Less build sytem for Sublime Text 2
Apache License 2.0
91 stars 14 forks source link

Compile on CTRL+S #23

Closed esaramago closed 11 years ago

esaramago commented 11 years ago

It is possible to compile LESS typing CTRL+S instead of CTRL+B? That way it will save and compile at the same time.

jess-sol commented 11 years ago

There is the plugin sublimebuildonsave which does this On Oct 7, 2012 8:32 AM, "esaramago" notifications@github.com wrote:

It is possible to compile LESS typing CTRL+S instead of CTRL+B? That way it will save an compile at the same time.

— Reply to this email directly or view it on GitHubhttps://github.com/berfarah/LESS-build-sublime/issues/23.

esaramago commented 11 years ago

That's it! Thanks.

Is there any plugin to minify it on ctrl+s also?

jess-sol commented 11 years ago

Sadly no, you might ask them if they could add this functionality (I'm not sure it's possible), but in the mean time you could bind Minify to a keycombo, I believe there was an issue earlier where I described how to do it.

Add this to your user keybindings: { "keys": ["alt+t"], "command": "build", "args": {"variant": "Minify"} } You can replace alt+t with anything, and even add another so you have to hit them in sequence, like ["alt+b","alt+t"] or something.