Sublime Forum

Custom commands

#1

Hi.
I’m a long time Textmate user and have custom bundle commands running different commandline tools etc. mapped to different key combinations. Is this possible in Sublime? I see that I can set up my own build systems, but need more custom commands.

0 Likes

#2

I’m using a plugin called “filter through external command.” Not sure where it’s from but if you search on that plus sublime text 2 then you should get it.

0 Likes

#3

this one?
github.com/technocoreai/SublimeExternalCommand

0 Likes

#4

That seems to be it.

Keep in mind, that command passes the selection through the command and replaces the selection with the results of the command, and if the selection is empty it replaces the file.

You may need to undo if you want to keep the selection.

0 Likes