Skip to content
Source
Sign inSign up

Use the command palette

Stay on top of work

Jump anywhere with the command palette

You want to open a repository, the profile of a person, a page or an action, without a click through menus. The command palette opens from the keyboard on every page: type a few letters, then press Enter.

3 min read

1. Open the palette

Use one of these:

  • Press ⌘K on a Mac, or Ctrl+K on Windows and Linux. This works on every page, also while you type in a field.
  • Press /. Single-key shortcuts must be on (see Turn single-key shortcuts off).
  • Click the search field in the header, Search or jump to....
  • Click Search in the dock at the left edge of the page.
  • On a phone, tap Search in the tab bar at the bottom of the screen. The palette opens as a sheet. See Find anything.

2. Type what you want

The command palette open over the Explore page. It has a search field, then the Go to pages with their shortcut keys and the actions. The first row is highlighted.

The palette shows its rows in groups:

GroupWhat it shows
PeopleWhen you are signed in: up to 4 people whose username or display name holds your text. Each row shows the avatar, the username and the display name. Choose a person to open their profile.
RepositoriesUp to 8 repositories that match your text. A private repository has a lock.
Go toYour dashboard, Explore and the skill marketplace. In a repository, also its code, issues, pull requests and agents. Each row shows its G shortcut.
ActionsWhen you are signed in: new repository, new monorepo, import from GitHub, new organization, the system, light or dark theme, and auto-hide or always show the dock (Auto-hide dock or Always show dock, see Auto-hide the dock). When you are signed out: Sign in and Sign up.

People and repositories show when you type 2 characters or more. Your text also filters the Go to and Actions rows by name. For example, type pull to find Go to pull requests.

3. Open a row

KeyWhat it does
Up and Down arrowsMove the highlight to the row above or below
EnterOpen the highlighted row
EscapeClose the palette

You can also click a row.

4. Search all repositories

The last row is Search all repositories for "your text". It opens Explore with your text in the search.

When no row is highlighted, Enter does the same.

Done

You open a repository, a person, a page or an action with a few keys, from any page. Press ⌘K or Ctrl+K now. Type the name of a repository that you use, or the username of a friend.

Turn single-key shortcuts off

Single-key shortcuts are keys like /, and G then I. They are on by default.

  1. Press ? to open the list of shortcuts.
  2. Turn off Single-key shortcuts at the bottom of the list.

With them off, / does nothing. ⌘K and Ctrl+K still open the palette.

Note

On a diff with its file list on screen, such as the Files tab of a pull request, / filters the changed files. Press ⌘K or Ctrl+K there to open the palette.