> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cubic.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Keyboard shortcuts

> Search pull requests, navigate diffs, and review from the keyboard.

Most of a review in cubic works from the keyboard. To open the command bar, press `Cmd + K` on macOS
or `Ctrl + K` on Windows and Linux. Search for any PR, page, or action from there.

## Find a PR or action

Type `#` or `/` to search pull requests by title, PR number, repository, or author. Use the arrow
keys and `Enter` to select a result. Press `Esc` to close the command bar.

The command bar opens with the commands for the page you're on. In the inbox, your review queue
and recent PRs come next. Search ranks commands and pull requests together.

On a PR page, the command bar also offers actions for that PR: review, merge, go to a file or one
of cubic's issues, add a reviewer, or copy its link. Lists number their first nine rows, so typing a
number picks one.

<img src="https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-pr-actions.png?fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=a26e75e42442210191eb7f1048ee9e2c" alt="The command bar on a PR page, listing Review, Merge, Go to file, and other actions for that PR" className="border border-zinc-800 rounded-lg" width="1272" height="1000" data-path="code-review-platform/images/command-menu-pr-actions.png" />

## Find a setting

Type a setting's name, such as `billing` or `slack`, to find settings pages and individual
settings. Picking a setting opens its page, scrolls to it, and outlines it. In Settings, you can
also use the **Search settings** box at the top of the sidebar. Press `/` to focus it.

<img src="https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-settings-search.png?fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=5bc7f8771d4b6548cb25ad4c25cc8d53" alt="The command bar with billing typed, listing Settings > Billing and the Plan and Flex capacity settings" className="border border-zinc-800 rounded-lg" data-og-width="2880" width="2880" data-og-height="1400" height="1400" data-path="code-review-platform/images/command-menu-settings-search.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-settings-search.png?w=280&fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=fa5a6503bcd24aa242d8a54e3de2fd10 280w, https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-settings-search.png?w=560&fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=46f28e54afa8c798956781b6731b1fd3 560w, https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-settings-search.png?w=840&fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=6f0341337315a642fc1c7d7874eb052d 840w, https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-settings-search.png?w=1100&fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=4d5bedc86aeb1f751fb5dd4a7bfc0db7 1100w, https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-settings-search.png?w=1650&fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=a972bcfbfb54f120fc2576766469a281 1650w, https://mintcdn.com/cubic-2/SfuPYnfGfWXArNA3/code-review-platform/images/command-menu-settings-search.png?w=2500&fit=max&auto=format&n=SfuPYnfGfWXArNA3&q=85&s=3d5ecbfae8eac4d81e57f7912ef2ee17 2500w" />

In the [desktop app](/code-review-platform/desktop-app), press `Control + Option + C` on macOS or
`Control + Alt + C` on Windows and Linux to open the command bar from any app. A PR link on your
clipboard shows up first.

## Review shortcuts

These shortcuts work on PR pages. `G` then `I` works on any page, and `J` and `K` also work in
the inbox:

| Shortcut | Action |
| - | - |
| `G`, then `I` | Go to the pull request inbox. |
| `J` | Select the next PR in the inbox, or the next file in a diff. |
| `K` | Select the previous PR in the inbox, or the previous file in a diff. |
| `Shift + J` | Scroll down in the diff. |
| `Shift + K` | Scroll up in the diff. |
| `Space` | Mark the active file viewed, or unmark it. |
| `C` | Open or close a file comment draft. |
| `R` | Open the review menu. |
| `Shift + A` | Start an **Approve** review. |
| `Shift + R` | Start a **Request changes** review. |
| `Shift + C` | Start a **Comment** review. |
| `Cmd + I` or `Ctrl + I` | Open AI chat, with any selected code added. |
| `Shift + G` | Open the PR in GitHub. |

When the review menu is open, `Cmd + Enter` or `Ctrl + Enter` submits the review.

## See every shortcut

Open **Keyboard shortcuts** from your user menu, or search for **Show keyboard shortcuts** in the
command bar. The list shows the shortcuts for the page you're on.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.