> ## Documentation Index
> Fetch the complete documentation index at: https://termmate.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Work with Sessions

> Manage conversation history — start fresh, pick up where you left off, or roll back to an earlier point.

## Clear Session

Clears the current conversation and starts a new one in the same working directory. Use this when the context has drifted or you want a clean slate without restarting the editor.

### Sublime Text

`Cmd+Shift+P` → `TermMate: Clear Session`. The chat view resets while your editor state is preserved.

***

## Resume Session

Pick up a previous conversation instead of starting fresh. TermMate persists session history per-project so you can return to a long-running task after closing the editor.

Sessions are displayed with a summary of the conversation and a `short-id  YYYY-MM-DD HH:MM` timestamp on the second line. The active session's summary is suffixed with a `●`.

### Sublime Text

`Cmd+Shift+P` → `TermMate: Resume Session`. Select a session from the quick panel.

***

## Rewind Conversation

Step back to an earlier point in the current session — useful when you want to try a different approach from a known-good state. Rewinding **forks** the session at the chosen prompt and removes every message after it from the chat view, so you can explore a new direction without losing the original context.

### Sublime Text

Hover over a gutter dot next to a past prompt, or click the **↩** button at the end of that prompt line. A confirmation panel appears to rewind to that point, or cancel to dismiss.

<Note>
  Restoring files to their earlier state on rewind relies on file checkpoints, which are saved before each message. This is controlled by the `enable_file_checkpoint` setting (default `true`) and is only supported by the **Claude** agent — it has no effect with Codex or Pi.
</Note>
