Skip to content

Instantly share code, notes, and snippets.

@finbarrtimbers
Created April 10, 2024 16:36
Show Gist options
  • Save finbarrtimbers/3796aaea4e1aa9b3ea65d97ca3a57c0a to your computer and use it in GitHub Desktop.
Save finbarrtimbers/3796aaea4e1aa9b3ea65d97ca3a57c0a to your computer and use it in GitHub Desktop.

Create a Chrome search shortcut for your Github org, a la CodeSearch

Thanks to Darian Moody (https://gist.github.com/djm/0a43f7dee02a2acca4b3894d0b349990).

Instructions

  1. Open Chrome > Settings
  2. Search "manage search engines" and click into it
  3. Click "Add"

  1. Give "search engine" a name. e.g GitHub - Some repo
  2. Give "keyword" a shortcut e.g cs
  3. Give "URL with %s in place of query" the URL below:
https://github.com/search?q=org%3A$YOUR_ORG%20%s&type=code

Replace `[ORG]` with your organisation/username.

e.g for Django:

https://github.com/search?q=org%3ADjango%20%s&type=code


  1. Click "Add".

  2. Search! e.g Type "cs NameOfComponent" in your address bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment