[TxMt] Hard tabs, soft tabs, oh my

Charilaos Skiadas cskiadas at uchicago.edu
Mon Jul 24 00:57:47 UTC 2006


On Jul 23, 2006, at 7:39 PM, Skye Poier wrote:

> Is there a way to provide an argument to changeTabsToSpaces: in the  
> macro recorder for stop size?  Macro recording doesn't seem to  
> notice when I change the tab stop, it's a pain to change the stops  
> to 8, convert, then change back to 4 each time.  And the macro is  
> marked read-only (sorry, I'm still a TM n00b).  I'd like to change  
> files only as needed, and not have to drop to the shell to do a sed  
> on it.
>
Have you looked into the "Text -> Filter through command..." menu  
item? You can record a macro that uses that, or of course you can  
write a command. Anything you can do in the shell, you can wrap  
around a TM macro/command.
> Skye

Haris





More information about the textmate mailing list