Add search shortcuts to Chrome
Using customized search engines in Chrome is really powerful and can speed up you day to way productivity.
The idea is to have sort of a shortcut for URLs where they share a common pattern. This can be useful for:
- Perl distributions and documentation on MetaCPAN or search.cpan.org if you use that site
- RT tickets on CPAN bug tracker or your own RT installation
- Jira Issues
- Oracle Error Numbers
All you have to do is edit the Omnibox (URL/address field) in Chrome. Right-click on the box and choose ‘Edit Search Engines’. Under ‘Other search engines’ you can then add your own.
- In the first column you add a label
- In the second a shortcut
- And in the third a URL including a %s, which will be the placeholder where our parameter (search string) will be placed.
So if we define:
meta pointing to the address:
Now the Omnibox allows us to write:
meta perl::critic and we are sent to the page holding information on Perl::Critic at MetaCPAN.
Here are some of the shortcuts I use and have used regularly:
Perl Distributions and Documentation
You simply provide the package name of the Perl distribution:
pod and URL:
cpan and URL:
I previously distinguished between MetaCPAN and search.cpan.org, but since search.cpan.org has been decommissioned, the earlier suggestion of
cpan can also be mapped to MetaCPAN.
Oracle Error Numbers
For getting information fast on the Oracle error that bites you:
Request Tracker Numbers
For getting fast to the RT you want to read:
rt and URL:
For getting fast to the Jira issue you want to read:
jira and URL:
RFC Standards Documents
For easy access to RFCs:
rfc and URL:
Do note that the keyword should not resemble something you want to Google often, since the Omnibox is magical and acts as a search field which is what this tip uses.