Search in CakePHP.org TextMate command

I’ve setup a Google custom search engine that will search in the cakephp.org domain. So this will include API, Tests, Trac and of course The Book.

When you search you have refinements at the top of the search results that gives you easy access to the subparts of cakephp.org

And because TextMate is my favorite Editor I added a command in there that will search any selected word in that custom search engine. Now I have all the sources for that keyword at my hand.

Download the command, unzip it and double-click to install. I added ctrl-shift-s to that command as a shortkey.

Cheers!

Update: As there was already a custom search for CakePHP related sites I added another command to search in there. So two commands: One to search only in the cakephp.org domain (with refinements) and one to search also in other cakephp sites. Download!

9 Responses to “Search in CakePHP.org TextMate command”

  1. truster Says:

    http://groups.google.com/group/cake-php/web/listed-websites-on-custom-google-search-engine-for-cakephp

  2. primeminister Says:

    @truster: Of course! I should have searched for this before I made one myself…. Thnx for the link.
    Although for me it is nice to have a custom search only on the cakephp.org domain. Especially in TextMate.

    p.s. it is a bit outdated because even teknoid and the book isn’t in there…

  3. Guillaume Says:

    Did you check the TextMate bundle for CakePHP ? It provides a direct search in the API amongst other helpers.

  4. primeminister Says:

    @Guillaume: yeah, but not the whole cakephp.org domain.

  5. Guillaume Says:

    yes, of course. I’ll give a try to your command, thanks!

  6. Proxy Nations Says:

    Nice nice, might give this a try soon.

  7. depi Says:

    I’m sorry, but how it should work in TM? When I hit the shortcut (ctrl-shift-s) and enter the keyword nothing happens.

  8. primeminister Says:

    @depi: I changed the shortcut to ctrl-shift-H because the ‘S’ I used for subversion commands.
    Try to set you own keyboard shortcut. Look into the manual and search for ‘command shortcut’

  9. Luke Says:

    Hi

    I could not get this to work in textmate. It is installed OK and when in some cake source (scope) I select a keyword like input and then hit the shortcut (ctrl shift S , as I use the first zip)
    But nothing then happens. Shouldnt it open a page in FFox / browser?

Leave a Reply