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

# Keyboard

> The command palette, the shortcut sheet, and every key in ShadowGit

Two keys find everything else. `⌘K` opens the command palette, and `?` lists every key. On Windows and Linux, ShadowGit shows `Ctrl` where these pages show `⌘`, and `Shift` for `⇧`. This page describes ShadowGit 0.5.0 and later.

## The command palette

![The command palette over the whole project's map: a search field, then Activity, Project, All snapshots, Settings and Your rules under Go to, with the keys of those that have one](https://mintcdn.com/aflsolutions/GMEbczUQ-wV-KUa8/images/palette.png?fit=max\&auto=format\&n=GMEbczUQ-wV-KUa8\&q=85\&s=0e87b5b93d20851ceddc7d4bbae796fb)

The command palette, opened over Project

`⌘K` opens the palette from anywhere. Type part of a command or a project's name, then press `↵`. Commands are grouped under **Go to**, **Review**, **Snapshots** and **App**, then your projects. A command shows its keys, and only the commands that work where you are.

Some commands have no key of their own:

* **Review since you last saved**, **Review today** and **Compare two snapshots…**
* **All snapshots**, **Save snapshot**, **Save snapshot with a name…**, and, when Review reads one snapshot, **Restore this snapshot…** and **Tag this snapshot…**
* **Mark reviewed**, **Send comments to your assistant…** and **Show the review guide**
* **List files in reading order**, **List files by folder**, **Show the diff unified** and **Show the diff split**
* **Your rules…**, **Add project…** and **Get started…**
* **Theme: light**, **Theme: dark** and **Theme: as the system**

## The shortcut sheet

![The Keyboard shortcuts sheet, listing keys under Everywhere, Files, Lens and Map](https://mintcdn.com/aflsolutions/GMEbczUQ-wV-KUa8/images/keyboard.png?fit=max\&auto=format\&n=GMEbczUQ-wV-KUa8\&q=85\&s=384f7c298b1c9b458e2ec64f84588855)

The shortcut sheet: every key, by where it works

`?` opens **Keyboard shortcuts**, with every key below. A single key does nothing while you type in a field or a dialog is open.

## Everywhere

| Keys | Does |
| - | - |
| `⌘K` | Command palette |
| `?` | Keyboard shortcuts |
| `G` then `A` | [Activity](https://docs.shadowgit.com/activity.md) |
| `G` then `P` | [Project](https://docs.shadowgit.com/map.md#the-whole-project) |
| `G` then `F` | [Files](https://docs.shadowgit.com/review.md#files) |
| `G` then `L` | [Lens](https://docs.shadowgit.com/lens.md) |
| `G` then `M` | [Map](https://docs.shadowgit.com/map.md) |
| `G` then `S` | Review the latest session |
| `⌘,` | Settings |
| `[` | Show or hide the sidebar |

## Files

| Keys | Does |
| - | - |
| `J` / `K` | Next file / previous file |
| `V` | Mark the file viewed and go to the next |
| `]` | Show or hide the files |
| `C` | Comment on the selected lines |
| `⇧C` | [Comments](https://docs.shadowgit.com/comments.md) panel |

## Lens

| Keys | Does |
| - | - |
| `J` / `K` | Next step / previous step |

## Map

| Keys | Does |
| - | - |
| `/` | Find a symbol or area |
| `Esc` | Back from a selection |

## Lists

In All snapshots and the Docs rail:

| Keys | Does |
| - | - |
| `↑` / `↓` | Previous / next in the list |
| `Home` / `End` | First / last in the list |
| `↵` | Open |
| `⇧↵` | Pick a snapshot to compare |

## Writing

| Keys | Does |
| - | - |
| `⌘↵` | Save a comment, or send |
| `Esc` | Close without saving |


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