Thanks to the helpful comments, I was able to put together a command and macro combination that does just what I wanted. It's described in some detail at http://www.leancrew.com/all-this/2006/02/textmate_and_links_again.html -- Dr. Drang