Index > Commands > Tabs To References (Safari)
The Tabs To References (Safari) command allows TextMate to automatically create reference links from the tabs in your frontmost Safari window. It will give you a popup HUD with a list of tab titles to be included, and you can ignore specific tabs if desired. Pressing ⌘A and then Return will insert all of the tab links quickly.
The links are inserted as a reference list, automatically titled based on their domain, duplicates are removed and titles are stripped (TUAW style guide).
For the visual folks, here’s a video of the Tabs To References command in action, courtesy of Mike Rose.