Super quick searching of docs and forum using Chrome Omnibox custom searches

Being a massive fan of the custom search feature in Alfred (Mac productivity tool) I was super excited to discover Chrome has a similar feature.

Scenario

You’re coding away, and need to search for something. So you open Chrome, go to the docs or forum page on getkirby and then search.

Using custom searches

In Chrome on any page you tap into the search bar kd (Kirby Docs) or kf (Kirby Forum) then tab you can then type in your query, press return and it will open the results page.

Setting up

You can do this for nearly any site with a search field. But I find it very useful when you find yourself always going back to the same community forum for stuff.

In Chrome right click the search bar and choose Edit search engines

Chrome shows you a list of sites that it has already detected can be used and you should find GetKirby in the bottom list. This is the forum search. The middle column is the keyword you tap before you search. The default one for kirby is kirbys. I changed this to kf.

To add the docs search. Scroll down to the bottom of the list of “other search engines” to find the “add new search engine” fields.

Give it a name Kirby Docs pick a keyword kd and enter the url

https://getkirby.com/search?q=%s

To search kirby forum (kf tab) use:

https://forum.getkirby.com/search?q=%s

So now when you need to search you just tap two letters in, tab then search.

That’s it, a extremely useful feature that is hidden away. I hope you find it useful, it works great with Discourse forums, I also use it for Github https://github.com/search?q=%s&ref=opensearch and Codepen http://codepen.io/search/pens?q=%s&limit=all&type=type-pens

6 Likes

Awesome. I have to check that! Thanks for sharing.

For anyone else setting this up I believe the docs search URL should be https://getkirby.com/search?q=%s

1 Like

oops, you’re right, that is what I was using (/search?q) but not what I had written.

Thanks for spotting it, unfortunately I can’t edit the post (I assume because it is too old)

To confirm, to search kirby docs (kd tab) use:

https://getkirby.com/search?q=%s

To search kirby forum (kf tab) use:

https://forum.getkirby.com/search?q=%s

Nice! Is there a similar feature for safari?

@ola: Maybe this is helpful: https://computers.tutsplus.com/tutorials/how-to-set-up-custom-searches-in-safari--cms-26139

1 Like