Sublime Forum

Command to run cmd script on file

#1

How would it be possible to process a file via command line with Sublime’s keybindings? I’d like to toy around with Less CSS (lesscss.org/) and would like a keybinding on save to run ‘lessc (filename)’. Thanks.

0 Likes

Plugin request: Less CSS converter
#2

Right now I’ve tried to run these:
- this does nothing
- this just runs the file

0 Likes

#3

Nevermind, I got it:

0 Likes

#4

Good to know. I’m sure I will need it.

0 Likes

#5

How can I do this with Sublime Text 2?

0 Likes

#6

Just ran into this yesterday and asked Jon. Apparently, it is not possible in v2.x yet, and isn’t on the radar. I’ve added a feature request to Jon’s fancy new tracker, but it BADLY needs some votes to get noticed:

sublimetext.userecho.com/feedbac … -bindings/

0 Likes