How to perform multiple find and replace in TextMate besides macro?
Posted
by
T1000
on Stack Overflow
See other posts from Stack Overflow
or by T1000
Published on 2010-09-16T04:12:11Z
Indexed on
2011/01/06
16:53 UTC
Read the original article
Hit count: 201
textmate
|textmatebundles
I have several regular expressions to find and replace text in documents in TextMate. I would like to be able to have them run in a batch. I made a macro and it worked, but any tiny modifications to the macro means re-recording the macro. And I can't seem to modify the regex within the TextMate interface. It's read-only for some reason.
Can I make it into a command? Does anyone know how? I tried to read the TextMate help about commands, but it wasn't much help. It seems I need prior knowledge of shell scripts or some sort (which I have none). Any advise in the direction would be great.
Thanx in advance.
© Stack Overflow or respective owner