Magic hyperlinks in TextMate
by Giles Turnbull
Years ago (2003, it would appear), I was wondering in public if there was a way for an editor to automagically fetch links for me - so that I could type something obvious, like “Flickr”, and hit some keys, and the editor would find the appropriate web site on Google and fill in all the HTML for me.
Danny O’Brien knocked up some code for BBEdit, which I think I tried but lacked the Python-fu to make work properly. So I gave up and carried on doing things manually.
This is a cool feature and was nicely covered in one of the screencasts that Allan Odgaard did:
Searching and Hyperlinks
|Having always done this the old fashioned way I never thought of an app doing it for me. While I don't use this that often....at least not like a tech writer, it will still come in handy and is a great tip!|
|More evidence that TextMate is a stunningly well thought out little app.|
|Wished this worked for Textile markup. For example, Textmate returns "Google":url instead of "Google":http://www.google.com.|
Haris Skiadas worked up a similar feature for creating "I'm feeling lucky" links in Markdown, and I later made some changes to fit my way of working. You can find Haris's work here and mine here.
|Has anyone written an equivalent feature just for looking things up on Amazon?|