Thanks to Darian Moody (https://gist.github.com/djm/0a43f7dee02a2acca4b3894d0b349990).
- Open Chrome > Settings
- Search "manage search engines" and click into it
- Click "Add"
- Give "search engine" a name. e.g GitHub - Some repo
- Give "keyword" a shortcut e.g
cs
- 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
-
Click "Add".
-
Search! e.g Type "cs NameOfComponent" in your address bar.