Files
The Files pane in the side panel: a file tree and a simple editor for the session's folder.
How to use
- Open the side panel and pick files (or press Ctrl+Shift+E).
- Click a file in the tree to open it in an editor tab.
- Edit it and press Ctrl+S (⌘ S on Mac) to save.
- To find a file by name, press Ctrl+P (Open file).
Keys
| Key | Where | Does |
|---|---|---|
| Ctrl+P | Anywhere | Open a file by name. Ctrl+Enter in the list inserts @path into the prompt instead. |
| Ctrl+S | Editor | Save |
| Alt+K | Editor | Insert the file and the selected lines into the prompt box (⌥ K on Mac) |
| Ctrl+\ | Anywhere | Show or hide the file tree |
Good to know
- Images and videos open as a preview. SVG files can switch between preview and text (Show preview).
- If the file changed on disk while you edited it, you choose: reload it or overwrite it.
- The browser warns you before you leave the page with unsaved changes.
- Only files inside the allowed roots can be opened. See
--roots.