Anybody know of a package for Sublime Text 2 that will let me execute a shell command, save shell commands, run the currently-open file?

I miss the utility of NppExec from Notepad++, in which I would save something like:

irb -r "$(FULL_CURRENT_PATH)"

...press F6, Enter, and I'd be rolling. With Sublime Text 2, I've got to get out a shell, navigate to the right directory, then enter the command.

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

You can use the build system to define whatever commands you want to be executed. Checkout the official documentation for more information on how to perform what you want.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.