[TxMt] Re: rmate custom commands?
mailinglist at textmate.org
Sun May 12 03:17:09 UTC 2013
On May 9, 2013, at 9:59, Jose Luis Canciani <textmate at jluis.com.ar> wrote:
> […] I'm interested in sending commands to execute: for example I would want to be over a class name and with a key combination send something like "run\r\n"+ "/find/and/send/to/rmate MyClass", so rmate will run this as an OS command. I can manage getting rmate in the server to understand and run the command, but I don't know how to make Textmate to send such a command.
> Is this something that can be done today?
Not possible to do out-of-the-box.
I don’t know how many differnet commands you wish to run on the server from which rmate is called, if it’s only a few, it might be easier to create new commands that use ‘ssh «server» «command»’ to execute «command» on «server».
More information about the textmate