DEV Community

Cover image for How to navigate the GitHub web without a mouse
Michelle Duke for GitHub

Posted on • Edited on

7 2

How to navigate the GitHub web without a mouse

Developers are always thinking about productivity. Faster ways to do things. Shortcuts to take. Corners to cut.

Earlier in the year, I wrote a post on some of my favourite keyboard shortcuts. Now I'm here with the ultimate keyboard shortcut.

Navigating without a mouse

One of the reasons we love the command line is it's quick. There's no need to grab your mouse and navigate the screen. Everything is done on your keyboard.

Now we've created a way for you to navigate the GitHub web without using a mouse.

It's called the Command Palette.

When you're on GitHub.com, press CTRL+K (for Windows/Linux), or +K (macOS), and the new command palette will appear.

Command palette

This window will appear on any GitHub.com page.

What you can do with the Command Palette

The Command Palette is designed to make it easy for you to navigate GitHub, search, and run commands:

  • Search by typing the path or string into the Command Palette
  • Filter your search terms by using Tab to cycle through users, org, or repo
  • Expand the scope or your search by using the Backspace and delete keys
  • Clear your search by using CTRL+Backspace (for Windows/Linux), or +Backspace (macOS)
  • Search Issues/PRs/Discussions/Projects by using #
  • Search for Projects by using !
  • Search for users/orgs/repos by using @
  • Search for files using /
  • Jump to your search result by hitting ENTER
  • Open your search in a new browser tab by pressing CTRL+Enter (for Windows/Linux), or +Enter (macOS)
  • Run commands using CTRL+Shift+K (for Windows/Linux), or +Shift+K (macOS)
  • Switch to command mode by using > on the keyboard if you already have the palette open
  • Close the command palette from search and navigation mode by using Esc or CTRL+K (for Windows/Linux), or +K (macOS)
  • Close the command palette from command mode by using Esc or CTRL+Shift+K (for Windows/Linux), or +Shift+K (macOS)
  • Get Help by typing ?

Check out the full list of commands on the GitHub Docs.

There's also a short video where you can see the command palette in action:

Let us know how you'll be using the command palette by leaving a comment below.

Sonar image

Explore the coding personalities of leading LLMs

Understanding the unique coding "personality" of each LLM—where it excels and where it's likely to make mistakes—is key to generating code safely and securely. Check out this deep-dive study on GPT-4o, Claude, Llama, and more to see how you can use AI responsibly in your dev workflow.

Learn more

Top comments (3)

Collapse
 
alexweininger profile image
Alex Weininger

This is a really cool feature, I need to try to use it more.

Collapse
 
mishmanners profile image
Michelle Duke

It's brand new, so give it a go!

Collapse
 
varghesejose2020 profile image
Varghese Jose

👍

agentic postgres

An MCP Server That Actually Understands Postgres

We took 10+ years of Postgres experience and turned it into built-in prompts. Agents get tools for schema design, query optimization, and migrations, plus they can search Postgres docs on the fly.

Learn more