The built-in file viewer lets you read files and make quick edits inside a worktree without leaving the app. This article covers what it can do and how to open it.
Open a file (⌘P)
Press ⌘P (use Ctrl in place of ⌘ on other platforms) to jump straight to a file in the current worktree. It's the quickest way to open one — whether to read it or make a small edit.
What it does
- Syntax highlighting — read code comfortably.
- Markdown rendering — read a README or other
.mdfile formatted, not as raw text. - Basic edits and save — make a quick change and save it right there.
File tabs sit alongside the chat tabs in the same worktree, so you can flip between reading a file and talking to the agent about it. The viewer is scoped to the worktree you have selected — it's part of that worktree's context, not a separate, global file browser.
When to use it
The file viewer is built for reading and light edits — checking a README, glancing at what an agent changed, or tweaking a line or two. Keep it open next to a chat to follow along as a task progresses.
Next steps
- The interface, at a glance — where the file viewer fits among the app's other areas.
- Create your first worktree — the file viewer works inside a worktree.
- Core concepts & vocabulary — the terms behind what you see.