Files
Cagire/docs/getting-started/saving.md
Raphaël Forment 2d8abe4af9
Some checks failed
Deploy Website / deploy (push) Failing after 4m50s
Feat: documentation
2026-02-16 23:19:06 +01:00

38 lines
1.2 KiB
Markdown

# Saving & Loading
Press `s` to save a project or `l` to load one. These keys work from any view. Both open a file browser where you navigate your filesystem, pick a location, and confirm.
## The File Browser
The browser shows a path input at the top and a directory listing below. Hidden files are filtered out.
- `Up` / `Down` — Browse entries
- `Right` — Enter a directory
- `Left` — Go up to the parent directory
- `Tab` — Autocomplete the current path
- `Enter` — Confirm selection
- `Esc` — Cancel
You can also type directly into the path input. Characters are appended to the current path, and the listing updates as you type. Press `Backspace` to delete.
## Saving
When saving, type a filename and press `Enter`. Parent directories are created automatically if they don't exist. Projects are stored as `.cagire` files.
## Loading
When loading, browse to a `.cagire` file and press `Enter`. The project replaces the current session entirely.
## Keybindings
| Key | Action |
|-----|--------|
| `s` | Save (from any view) |
| `l` | Load (from any view) |
| `Up` / `Down` | Browse entries |
| `Right` | Enter directory |
| `Left` | Parent directory |
| `Tab` | Autocomplete path |
| `Enter` | Confirm |
| `Esc` | Cancel |