paint-brush
A quick shortcut for quickly navigating in Github repositoriesby@FatosMorina
3,291 reads
3,291 reads

A quick shortcut for quickly navigating in Github repositories

by Fatos MorinaApril 1st, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

GitHub is one of the best places for developers to store their projects, collaborate with other colleagues, and learn from other open source projects as well. These type of projects are written in different programming languages, usually using different frameworks. As these frameworks or developers in general usually possess certain ways of organizing their code files into many folders, it makes it a bit difficult to navigate through them manually in GitHub. Luckily there is a really helpful shortcut that help with that.

Company Mentioned

Mention Thumbnail
featured image - A quick shortcut for quickly navigating in Github repositories
Fatos Morina HackerNoon profile picture

GitHub is one of the best places for developers to store their projects, collaborate with other colleagues, and learn from other open source projects as well. These type of projects are written in different programming languages, usually using different frameworks. As these frameworks or developers in general usually possess certain ways of organizing their code files into many folders, it makes it a bit difficult to navigate through them manually in GitHub. Luckily there is a really helpful shortcut that help with that.

If you go to a GitHub repository and press T in your keyboard, you can then start typing the name of the file that you want to open. This way you are able to go to specific files as fast as your typing rather than having to go to that particular file after going through multiple nested folders inside your project. You can then use upward and downward keys on your keyboard to navigate through the files, e_nter_ to view files, or esc to exit.

This is something really simple, but that I personally find very useful, as it saves me a lot of time when I am trying to find a particular file. It is not meant that this will now be sufficient and capable of avoiding the need to use the usual lookup through folder pages. It is simply a quick shortcut that you can use to go to files, or folders that you are already aware of really quickly. You can still use the usual way of navigating through your project files, and have this shortcut off your sleeve from time to time.