[TxMt] Re: duplicating a column in TextMate

Michael Bøcker-Larsen mblarsen at gmail.com
Thu Jul 15 11:01:18 UTC 2010


Hi

I'm not sure of the full context of your problem but you could also do a
regex search and replace

search for this:     ^(.+)$   (make sure to tick of regex)
replace with this:   $1\t$1

Then all your lines is duplicated separated by a tab.

/ Michael

On Thu, Jul 15, 2010 at 4:30 PM, Tobias Jung <newsgr at tobiasjung.net> wrote:

> supinum <david at supinum.com> wrote (Thu, 15 Jul 2010 03:24:41 -0700):
>
> > Still one question though.
> > What if I have thousands of images...
> > Will I under any circumstances have to scroll down to the bottom of my
> list
> > to in order to select every single line?
>
> No, you can use command + a to select all, then hit the option key once.
> You'll see that the normal kind of selection switches to column mode --
> at least, in theory.
> I don't know why but sometimes this doesn't work for me and I have to
> hit the option key a few times for the selection to change, or maybe de-
> select all and start again...
>
> Kind regards,
> Tobias Jung
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>



-- 

Michael Bøcker-Larsen

e: mblarsen at gmail.com
m: +9779840050779
p: +--[ RSA 2048]----+
   |                 |
   |         .       |
   |          *      |
   |         B o     |
   |     .  S *      |
   |    . o. o o     |
   |     = .E        |
   |    . +*+        |
   |     oB*         |
   +-----------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20100715/8470ce5f/attachment.html>


More information about the textmate mailing list