How to Configure Custom Search Engines and Site Shortcuts in Google Chrome

Navigating through multiple web pages just to find an internal knowledge base search bar or GitHub repository consumes valuable time. Rather than manually clicking through bookmarks, Google Chrome’s Omnibox (address bar) doubles as an extensible command-line search portal. Configuring custom search engine shortcuts allows you to query documentation hubs, internal ticket systems, corporate intranets, or Wikipedia directly from the address bar by typing a brief keyword followed by the Space or Tab key.

Understanding Chrome Site Search Shortcuts

Chrome categorises search providers into two distinct sections:

  • Default Search Engine: The primary search provider invoked when you type generic prose into the Omnibox (such as Google, Bing, or DuckDuckGo).
  • Site Search Shortcuts: Custom search endpoints configured with replacement parameters (%s). When you type the designated shortcut keyword (such as gh for GitHub or wiki for Wikipedia), Chrome routes your query string directly into the target service’s search URL.

Adding a Custom Site Search Engine in Chrome

To register a new direct search shortcut:

  1. Open Google Chrome.
  2. Click the three vertical dots (customise and control) in the upper-right corner and select Settings.
  3. In the left navigation sidebar, click Search engine.
  4. Click Manage search engines and site search.
  5. Scroll down to the Site search section and click Add.
  6. In the configuration popup, populate the three fields:
    • Name: Provide a recognizable label (e.g. GitHub Code Search).
    • Shortcut: Specify a concise trigger string (e.g. gh).
    • URL with %s in place of query: Enter the target site’s parameterized search URL (e.g. https://github.com/search?q=%s).
  7. Click Add to save the configuration.

Testing and Using Your Omnibox Shortcut

Once registered, using your custom search shortcut is instantaneous:

  1. Click inside Chrome’s address bar or press Ctrl + L (or Cmd + L on macOS).
  2. Type your designated shortcut (e.g. gh) and press Space or Tab.
  3. Notice that the address bar transforms into an active search prompt: Search GitHub Code Search.
  4. Type your search query (e.g. kubernetes ingress controller) and press Enter.

Chrome loads the target search results page immediately, bypassing multiple intermediate clicks and significantly boosting browsing productivity.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.