# Keyboard shortcuts

> Every shortcut, in one place.

Every shortcut is also in Settings → Shortcuts, and most actions are in `⌘K` with their shortcut beside them.

## Anywhere

| Action | Shortcut |
| --- | --- |
| Search and actions | `⌘K` |
| New skill | `⌘N` |
| New blank skill | `⇧⌘N` |
| Open a folder or Markdown file | `⌘O` |
| Save now | `⌘S` |
| Settings | `⌘,` |
| Help | `⌘?` |

## Layout

| Action | Shortcut |
| --- | --- |
| Show or hide the library | `⌘1` |
| Show or hide the agent | `⌘J` |
| Focus mode | `⌘.` |
| Preview Markdown | `⇧⌘P` |
| Show or hide the frontmatter | `⇧⌘F` |

## Writing

| Action | Shortcut |
| --- | --- |
| Find in the file | `⌘F` |
| Undo, redo | `⌘Z` `⇧⌘Z` |
| Ask the agent about the selection | `⌘L` |
| Rename, from the name field | `⏎` |

## The agent

| Action | Shortcut |
| --- | --- |
| Send | `⏎` |
| New line | `⇧⏎` |
| Stop | `Esc` |
| Accept all changes | `⌘⏎` |
| Keep this change | `⌥⏎` |
| Revert this change | `⌥⇧⏎` |
| Next or previous change | `⌥↓` `⌥↑` |

## In the library

| Action | Shortcut |
| --- | --- |
| Move between skills | `↑` `↓` |
| Open the skill | `⏎` |
| Rename | `F2` |
