# Keyboard shortcuts

URL: https://aycode.ai/docs/shortcuts/

AyCode is fast with the keyboard. On Windows use Ctrl where the Mac uses ⌘. Press ⌘/ in the app to see them all.

## Everywhere

| Keys | Action |
| --- | --- |
| `⌘K` | Search commands and chats |
| `⌘N` | New chat |
| `⌘⇧K` | Quick question |
| `⌘,` | Settings |
| `⌘/` | Show all shortcuts |
| `⌥Space` | Quick chat over any app (Windows: Alt+Space) |

## Views

| Keys | Action |
| --- | --- |
| `⌘B` | Toggle the sidebar |
| `⌘⇧B` | Toggle the Second Brain |
| `⌘⌥B` | Toggle the right sidebar |
| `⌘⌥→` `⌘⌥←` | Next or previous note tab |
| `⌘G` | Graph |
| `⌘U` | Usage |
| `Ctrl`` | Terminal |

## In a chat

| Keys | Action |
| --- | --- |
| `Enter` | Send (or ⌘Enter, if you prefer) |
| `⇧Enter` | New line; in a list, the next item |
| `⌥Enter` | Queue a message while the agent works |
| `Esc` | Stop the agent |
| `↑` | Bring back your last message (empty field) |
| `⌘⇧D` | Dictate |
| `⌘;` | Side question in the open chat |
| `1` `2` `3` | Answer an approval card |

*Screenshot: Settings → Shortcuts: click a shortcut and press new keys to change it.*
