# Keyboard shortcuts

Every key the web app answers to, by page, and how to open the list in the app.

## Open the list

Press `?` anywhere in the web app to open Keyboard shortcuts. The sheet shows the keys of the page you are on first, then the ones that work everywhere, and keeps the rest under Other pages. Type in Find a shortcut to search by key or by what it does.

Shortcuts work when you are not typing in a field. This page and the sheet draw from one list, so they match.

## Read the keys

- `⌘` is the Command key on a Mac. Keys joined with `+`, such as `⌘` + `K`, are pressed together.
- Keys joined with `then`, such as `G` then `G`, are pressed one after another.
- Keys joined with `or` are alternatives. `J` or `K` moves down or up.

## Jump to anything

`⌘` + `K` opens the command menu. Type to search, or run a command. It lists what needs you, recent pages, issues, repositories, files and code that match, and opens the one you pick. The last row, See all results, opens search.

`G` then a letter goes to a page without the menu. Press `G` alone to see a hint of the keys. `\` switches workspace between your account and your organizations.

## Shortcuts by page

### Repositories

| Keys | What it does |
| --- | --- |
| `/` | Find a repository |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the repository |
| `⌘` + `Enter` | Open in a new tab |
| `P` | Open its pull requests |
| `I` | Open its issues |
| `R` | Open its runs |
| `Y` | Copy its clone URL |
| `V` | Change visibility filter |
| `L` | Change the language |
| `S` | Change the sort |
| `N` | New repository |
| `Esc` | Clear the filters |

### Issues

| Keys | What it does |
| --- | --- |
| `N` | New issue |
| `/` | Find an issue |
| `F` | Filter |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the issue |
| `⌘` + `Enter` | Open the issue in a new tab |
| `X` | Select the issue |
| `S` | Status of the selection |
| `P` | Priority of the selection |
| `A` | Assignee of the selection |
| `L` | Labels of the selection |
| `D` | Close the selection |
| `Esc` | Clear the selection |

### Triage

| Keys | What it does |
| --- | --- |
| `1` | Accept |
| `2` | Decline |
| `3` | Mark as a duplicate |
| `H` | Snooze |

### Board

| Keys | What it does |
| --- | --- |
| `H` or `J` or `K` or `L` | Move between cards |
| `Shift` + `H` | Move the card one column left |
| `Shift` + `L` | Move the card one column right |
| `Enter` | Open the issue |

### Issue

| Keys | What it does |
| --- | --- |
| `E` | Edit title and description |
| `C` | Comment |
| `S` | Status |
| `P` | Priority |
| `A` | Assignee |
| `L` | Labels |
| `I` | Claim the issue |
| `F` | Follow |
| `J` | Next issue in the list |
| `K` | Previous issue in the list |
| `Esc` | Back to the list |

### Pull requests

| Keys | What it does |
| --- | --- |
| `N` | New pull request |
| `/` | Find a pull request |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the pull request |
| `⌘` + `Enter` | Open in a new tab |
| `O` | Open its caisson |
| `Esc` | Clear the search |

### Pull request

| Keys | What it does |
| --- | --- |
| `J` or `K` | Next and previous file |
| `V` | Mark the file viewed |
| `W` | Wrap long lines |
| `R` | Open the run |
| `C` | Write a comment |
| `E` | Edit the title and description |
| `M` | Go to the merge button |
| `A` | Write a review, to approve or ask for changes |
| `1` or `2` or `3` or `4` | Overview, changes, conversation and checks |
| `N` | Next open thread |
| `Shift` + `N` | Previous open thread |
| `Shift` + `F10` | Open the menu for the focused diff line |
| `Esc` | Back to the list |

### Run

| Keys | What it does |
| --- | --- |
| `R` | Rerun the failed jobs, or all when none failed |
| `Shift` + `R` | Rerun all jobs |
| `X` | Cancel the run, then Enter to confirm |
| `J` or `K` | Next and previous job |
| `N` | Next failed job |
| `Shift` + `N` | Previous failed job |
| `E` | Next error line in the log |
| `Shift` + `E` | Previous error line in the log |

### Commit

| Keys | What it does |
| --- | --- |
| `P` | Previous commit |
| `N` | Next commit |
| `Y` | Copy the sha |

### Compare

| Keys | What it does |
| --- | --- |
| `S` | Swap the branches |
| `O` | Write the pull request |

### Repository

| Keys | What it does |
| --- | --- |
| `Y` | Copy the clone URL |
| `B` | Switch branch or tag |

### Caisson

| Keys | What it does |
| --- | --- |
| `Space` | Play or pause the replay |
| `O` | Open its pull request |
| `X` | Stop the caisson, then Enter to confirm |

### Diff

| Keys | What it does |
| --- | --- |
| `J` or `K` | Next and previous file |
| `V` | Mark the file viewed, on a comparison |
| `W` | Wrap long lines |
| `Shift` + `F10` | Open the menu for the focused diff line |

### Branches

| Keys | What it does |
| --- | --- |
| `/` | Find a branch |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the branch |
| `⌘` + `Enter` | Open in a new tab |
| `Esc` | Clear the search |

### Caissons

| Keys | What it does |
| --- | --- |
| `N` | New caisson |
| `/` | Find a caisson |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the caisson |
| `⌘` + `Enter` | Open in a new tab |

### Code

| Keys | What it does |
| --- | --- |
| `T` | Go to a file |
| `B` | Switch branch or tag |
| `⌘` + `F` | Find in the file |
| `↑` or `↓` | Move in the file tree |
| `←` or `→` | Close or open a folder |
| `⌘` + `Enter` | Open a tree file in a new tab |

### Commits

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the commit |
| `⌘` + `Enter` | Open in a new tab |

### Runs

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the run |
| `⌘` + `Enter` | Open in a new tab |

### Releases

| Keys | What it does |
| --- | --- |
| `N` | New release |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the release |
| `⌘` + `Enter` | Open in a new tab |

### Inbox

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the item |
| `⌘` + `Enter` | Open in a new tab |
| `E` | Mark the notification read |
| `Shift` + `E` | Mark all read on this tab |
| `A` | Go to Approve on the open review |
| `C` | Go to Request changes on the open review |

### Change set

| Keys | What it does |
| --- | --- |
| `J` or `K` | Next and previous file |

### Session replay

| Keys | What it does |
| --- | --- |
| `←` or `→` | Step back and forward |
| `↓` or `↑` | Step back and forward |
| `Home` or `End` | Jump to the start and the latest step |

### Work graph

| Keys | What it does |
| --- | --- |
| `+` or `-` | Zoom in and out |
| `0` | Reset the zoom |
| `F` | Fit the graph to the pane |
| `↑` or `↓` | Resize the pane, on its handle |
| `Enter` | Restore the pane height, on its handle |
| `Esc` | Restore the pane height, on its handle |

### Pipeline graph

| Keys | What it does |
| --- | --- |
| `+` or `-` | Zoom in and out |
| `0` | Reset the zoom |
| `F` | Fit the pipeline to the pane |

### CI log

| Keys | What it does |
| --- | --- |
| `⌘` + `F` | Search every line of the log |
| `Enter` | Next match, in the search |
| `Shift` + `Enter` | Previous match, in the search |
| `Esc` | Clear the search |

### PDF

| Keys | What it does |
| --- | --- |
| `+` or `-` | Zoom in and out |
| `0` | Fit to the width |

### Agents

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the issue |
| `⌘` + `Enter` | Open in a new tab |

### Sandboxes

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Show or hide its details |
| `S` | Stop or cancel it, press again to confirm |
| `Esc` | Clear the filters |

### Activity

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the repository |
| `⌘` + `Enter` | Open in a new tab |

### Search

| Keys | What it does |
| --- | --- |
| `/` | Search code |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the result |
| `⌘` + `Enter` | Open in a new tab |
| `Esc` | Leave the search box |

### Admin list

| Keys | What it does |
| --- | --- |
| `/` | Search |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the account |
| `⌘` + `Enter` | Open in a new tab |
| `Esc` | Clear the search |

### Reports

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the reported page |
| `⌘` + `Enter` | Open in a new tab |
| `E` | Resolve or reopen |
| `D` | Start disabling it |

### Admin queue

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the sender |
| `⌘` + `Enter` | Open in a new tab |
| `E` | Mark handled or reopen |

### Safety queue

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the case |
| `⌘` + `Enter` | Open in a new tab |

### Migration

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Show the repository |
| `N` | Move repositories |

### Mirrors

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Show or hide its details |
| `N` | Add a mirror |
| `S` | Sync now |
| `D` | Remove, press again to confirm |

### Owners

| Keys | What it does |
| --- | --- |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open the OWNERS file |
| `⌘` + `Enter` | Open in a new tab |

### Labels

| Keys | What it does |
| --- | --- |
| `N` | New label |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open its issues |
| `⌘` + `Enter` | Open in a new tab |
| `E` | Edit the label |
| `D` | Delete the label |

### Milestones

| Keys | What it does |
| --- | --- |
| `N` | New milestone |
| `J` or `K` | Move down and up |
| `G` then `G` | Go to the first |
| `Shift` + `G` | Go to the last |
| `Enter` | Open its issues |
| `⌘` + `Enter` | Open in a new tab |
| `E` | Edit the milestone |
| `D` | Delete the milestone |

### Settings

| Keys | What it does |
| --- | --- |
| `⌘` + `S` | Save the changes |
| `Alt` + `↓` | Next section |
| `Alt` + `↑` | Previous section |

### Everywhere

| Keys | What it does |
| --- | --- |
| `⌘` + `K` | Jump to anything |
| `\` | Switch workspace |
| `1` or `2` | Pick a workspace in the open switcher |
| `[` | Show or hide the sidebar |
| `]` | Show or hide the side panel |
| `G` | Go to any page, with a hint of the keys |
| `G` then `,` then `S` | Then a letter opens a settings section: G then , or . or Settings |
| `G` or `Shift` or `S` | Inside a repository, Shift picks the workspace page |
| `?` | Keyboard shortcuts |
| `Esc` | Close a panel or menu, else go back |

---

Every docs page: https://sailfork.com/llms.txt
