[TxMt] Fwd: Macros to commands

Allan Odgaard throw-away-1 at macromates.com
Fri Jul 14 16:37:02 UTC 2006


On 14/7/2006, at 16:22, David Clark wrote:

> I sent  this a few weeks ago and got no response... does my question
> make any sense at all?

It’s feasible to do a widget to create search’n’replace commands, but  
a replace macro doesn’t theoretically translate exactly to a command  
-- so better to just learn how to do it from a command if you need  
this a lot.

For the records, that would be something like: perl -pe  
's/«regexp»/«replacement»/'.





More information about the textmate mailing list