[TxMt] Re: insert a column of numbers

Paul McCann paul.mccann at adelaide.edu.au
Tue Oct 8 11:50:34 UTC 2013


Ah, everyone's in on the fun: my take follows.

Select the lines and use

Text => Filter through command... (replace input)

   perl -pe '$i++;s/(\w+)/$1$i/g'

Not too bad!

Cheers,
Paul


More information about the textmate mailing list