Keyboard shortcuts
The keys that matter (and a palette for the rest).
Shortcuts
| Action | Shortcut |
|---|---|
| Command palette | ⌘K |
| Open file | ⌘O |
| New tab | ⌘T |
| Close tab | ⌘W |
| Save | ⌘S |
| Tree view | ⌘1 |
| Code view | ⌘2 |
| Grid view | ⌘3 |
| Graph view | ⌘4 |
| Find in document | ⌘F |
| Compare | ⌘D |
| Export | ⌘E |
| Toggle sidebar | ⌘B |
| Settings | ⌘, |
| Undo | ⌘Z |
| Redo | ⌘⇧Z |
| Commit Code-view edit | ⌘⏎ |
| Revert / close | Esc |
On Windows and Linux, use Ctrl in place of ⌘. To discover everything else, open the command palette with ⌘K and start typing.