A New Feature of GitHub
Tags: github, opensource, news
Published: 2021-10-29 08:29:45

## What is **GitHub Command Palette**?

**GitHub Command Palette** is a new feature of GitHub, and it is now available for all users. By using the Command Palette, you can quickly navigate to your organizations and repositories, and use modes to find and jump-to pull requests, issues, projects, files, and more. Not only that, you can also execute commands to optimize your workflows, all from the keyboard.

The command palette is an on-demand way to show suggestions based on your current context and resources you've used recently. You can open the command palette with a keyboard shortcut from anywhere on GitHub, which saves you time and keeps your hands on the keyboard.

## How You Can Open The Command Palette?

You can follow the simple procedures mentioned below:

- Make sure you are on GitHub, but it can be your GitHub homepage, any repo or anywhere of GitHub. 
- Make sure that you are loggin in to your GitHub account, because this process would not work otherwise.
- If you are using Windows or Linux machine, then press `Ctrl` + `k` or `Ctrl` + `Alt` + `k`. If you are using Mac, then press `⌘` + `k` or `⌘` + `option` + `k` from your keyboard.
- When you open the command palette, it shows your location at the top left. It uses it as the scope for suggestions.


- NOTE


 - If you are editing Markdown text, open the command palette with `Ctrl` + `Alt` + `k` (Windows and Linux) or `⌘` + `option` + `k` (Mac).
 - If you are working on a project (beta), a project-specific command palette is displayed instead. For more information, see "[Customizing your project (beta) views](https://docs.github.com/en/issues/trying-out-the-new-projects-experience/customizing-your-project-views)."

- You can narrow down, expand, or completely change the scope for suggestions as you see fit for yourself simply by editing the path in the command palette's text field.
- If you want to narrow the scopem then use `Tab` key from your keyboard.
- If you want to expand the scope, highlight and remove an item in the scope, then you can use `Backspace` or the `Delete` key from your keyboard as well.
- If you want to clear the scope and the text box, then simply click on `Clear`.

- Extra
 - You can also use many keystrokes to narrow your search. For more information, you can visit [Keystroke functions](https://docs.github.com/en/get-started/using-github/github-command-palette#keystroke-functions).

- You can use the arrow keys to highlight the path you want from the list of the given suggestions.
- Use `Enter` key to jump to your desired location. You can also use `Ctrl` + `Enter` (for Windows and Linux) or `⌘` + `Enter` (for Mac) to open the location in a new tab of your browser.

I uploaded a Shorts video on [YouTube](https://youtu.be/7s33Caqashs) as well for this.

*For more in-depth information, follow the instructions from [GitHub Docs](https://docs.github.com/en/get-started/using-github/github-command-palette)*

Thanks for reading the whole article.

You may follow me on [GitHub](https://github.com/FahimFBA), [Twitter](https://twitter.com/Fahim_FBA), [LinkedIn](https://www.linkedin.com/in/fahimfba), [Facebook](https://www.facebook.com/iptu.fba), [YouTube](https://www.youtube.com/c/InnovationWithIphim) as well.