[TxMt] Re: Google Search

chad gulley cag at adfitech.com
Wed Aug 19 02:18:30 UTC 2009


On Aug 14, 2009, at Aug 14, 2009  |  11:28 AM, Oliver Taylor wrote:

> On Thu, Aug 13, 2009 at 10:16 PM, Craig Walker<craig at softcraft.ca>  
> wrote:
>>
>> It seems to me that this feature is already implemented, but is not  
>> working
>> for me. In Hyperlink Helper, I see the Yahoo searches and the one for
>> "Lookup Selection on Google and Link".
>
> This bundle command is used for inserting links into the document. To
> just use the selected text as a search you could do one of two things:
>
> 1. Assign a keyboard command (via system preferences) to the "Search
> With Google" item in the "Services" menu. This has the advantage of
> working in every app.
> 2. Create a command out of this: open
> http://www.google.com/search?q="$TM_SELECTED_TEXT" / set the input to
> selected text or word, and discard the output.
>
> Also, if you're looking up rails docs try selecting the word and
> hitting control-shift-H.
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

You probably know about the "APIdock" bundle, but if not, it does  
something similar to what are mentioning.





More information about the textmate mailing list