Hey @saket, great suggestion! I've added a keyboard shortcut, Ctrl+Shift+F, which jumps to blackbird (only if you're in the technology preview). So e.g. if you're on an organization page or a repository page, or even reading a PR or an issue, you can search the corresponding org or repository.
Let me know what you think!
Is it possible to search for a particular filename on GitHub? - Stack Overflow
If you're looking for a filename in specific repository, you can just press t and start typing the file name (see: GH keyboard shortcuts). ... This is the correct answer. Notice there aren't any spaces in the query. 2018-03-09T17:03:20.043Z+00:00 ... it is very funny how searching for myfile.txt gives nothing and adding those magic filename: prefix makes the search return one file... GitHub... More on stackoverflow.com
How to search a GitHub fork for code using the GitHub Search API? - Stack Overflow
They both contain a manifest.json ... the word shortcut. The GitHub Code Search documentation says: Much like with repositories, you can opt to search code files that exist within forked repositories. However, to ensure better relevancy, repository forks will not be searchable unless the fork has more stars than the parent repository. If you would like forked results to appear, add the fork:true qualifier. For example: android language:java fork:true Matches code in a forked ... More on stackoverflow.com
Reddit - The heart of the internet
Reddit is where millions of people gather for conversations about the things they care about, in over 100,000 subreddit communities. More on reddit.com
How to search things in github repository?
You can press . in any GitHub repository to open it in an online version of VSCode. That should make searching in your project very easy. More on reddit.com
Today I Learned
til.hashrocket.com › posts › 00ggnd36j8-search-github-faster-with-shortcuts
Search Github Faster with Shortcuts - Today I Learned
November 7, 2017 - Now Github has a projects tab on each repository. Ever the completist, here's the shortcut for that tab: gb. Typing this on a Github repo's page loads the projects tab. Researching this led me to an even better shortcut, s. This is site-wide and it focuses the Github search bar.
GitHub
github.com › community › community › discussions › 12445
Open Code Search in a repository with keyboard shortcut · Discussion #12445 · community/community
Hey @saket, great suggestion! I've added a keyboard shortcut, Ctrl+Shift+F, which jumps to blackbird (only if you're in the technology preview). So e.g. if you're on an organization page or a repository page, or even reading a PR or an issue, you can search the corresponding org or repository.
Author community
UseTheKeyboard
usethekeyboard.com › github
Keyboard shortcuts for Github → UseTheKeyboard
A visual cheat-sheet for the 80 keyboard shortcuts found on Github.com Original Reference Report Issue · Focus the search bar · S · Go to your notifications · G · N · Opens and focuses on a user, issue, or pull request hovercard · H · When focused on above, closes hovercard · Esc · Go to the Code tab · G · C · Go to the Issues tab · G · I · Go to the Pull requests tab · G · P · Go to the Projects tab · G · B · Go to the Wiki tab · G · W · Start searching in file editor ·
Top answer 1 of 13
259
Does the search user.rb in:path do what you want to do?
Alternatively there is also this search filename:user.rb
Found on: https://help.github.com/articles/searching-code/
2 of 13
112
In search input, you can use filename parameter to search in multiple repositories, for example:
filename:my_filename.txt
If you're looking for a filename in specific repository, you can just press t and start typing the file name (see: GH keyboard shortcuts).
Keycombiner
keycombiner.com › collections › github
GitHub Keyboard Shortcuts
If you are the copyright holder and wish to see your software removed, please get in touch and we will remove it quickly. The combination table supports all popular multi-selection patterns. Hold Shift for range-selection. Use Ctrl for selecting multiple areas, and drag the mouse to select adjacent entries. Copy the selected combinations to a personal collection via the Collect-button on top of the table. Use the sidebar on the right to quickly filter through your collection by preset criteria. Use the different search fields for more complex queries.
GitHub
github.com › ScriptTiger › Repo-Search
GitHub - ScriptTiger/Repo-Search: Tool to instantly search all or specific files in any repo for keywords or phrases natively on windows extremely easily, with an option to output results to a file. Also invaluable for gamers! · GitHub
If you're a gamer, however, and play any open-source games, this script is even nicer when used to transform the source code of your open source game into a complete offline knowledgebase or even Easter egg hunting engine. You can easily make a shortcut to search a specific repo with one click by sending the root and files to search as parameters in a short one-line script: @search.cmd "c:\blah\blah\myrepo" "*.txt *.c *.h"
Author ScriptTiger
GitHub
docs.github.com › en › get-started › accessibility › github-command-palette
GitHub Command Palette - GitHub Docs
For a full list of supported commands, see GitHub Command Palette reference. The default keyboard shortcuts to open the command palette in command mode are Ctrl+Shift+K (Windows and Linux) or Command+Shift+K (Mac).