Files
Cagire/docs/getting-started/saving.md

26 lines
971 B
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.