Duplicating a column in TextMate

Hi!

Lets say I have houndreds of images in a folder and I want to list them in an HTML-document. So I just paste in my list of images in TextMate like this:

IMGP0410.jpg
IMGP0411.jpg
IMGP0412.jpg
IMGP0413.jpg
IMGP0414.jpg

To make proper links of this list I will have to paste the complete list of images once more next to my first list like this:

IMGP0410.jpg IMGP0410.jpg
IMGP0411.jpg IMGP0411.jpg
IMGP0412.jpg IMGP0412.jpg
IMGP0413.jpg IMGP0413.jpg
IMGP0414.jpg IMGP0414.jpg

Is it possible to do this in textmate without having to manually edit every line in my list?

/regards David S, Sweden

OK. I admit I am guilty of some kind of crossposting. I posted this question in the Textmate mailinglist aswell and got a prompt reply:
http://old.nabble.com/duplicating-a-column-in-TextMate-tp29171078p29171207.html

  1. Select the full list using “column mode”, i.e. keep the option key
    and the mouse button pressed while you move the mouse.
  2. Hit command + c to copy the selection to the clipboard.
  3. Move the cursor to the end of the first line and hit the tab key or
    insert a few spaces.
  4. Hit command + v to insert the clipboard’s content - voilà! :slight_smile: