[TxMt] A few suggestions: Open URL, diff and drags

Paul Bissex paul.bissex at gmail.com
Sun Dec 11 18:26:29 UTC 2005


On 12/9/05, Fred B. <fredb7 at starflam.com> wrote:
>
> On 09 Dec 2005, at 22:04, Freek Dijkstra wrote:
> > First of all, open URL:
> > I'm used to clicking on a URL in a text and go to that URL in a
> > webbrowser.
>
> For this there is "Open URL" in the Services menu, look at this hint
> to assign a shortcut to it:
> http://www.macosxhints.com/article.php?story=20040416191600412

It's also easy to make a custom command to open the selected URL. I
put one inside my Text bundle. Here's the entire thing:

  open "$TM_SELECTED_TEXT"

Both of these solutions do require the URL to be selected first. A
version that didn't require that (i.e. you could simply place the
caret inside the URL) would be nice, but a bit more work.

pb

--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847



More information about the textmate mailing list