Skip to main content

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+PTermMate: 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+PTermMate: Resume Session. Select a session from the quick panel.
Use the session_history_limit setting (default 50) in TermMate settings to control how many recent conversation turns are loaded when resuming a session. Set it to 0 to load the entire history.

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.

How to Trigger Rewind

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 prompting you to confirm or cancel before the rewind takes effect.

File Rollback & Checkpoints

  • Claude Code: Saves file checkpoints before each turn. When rewinding, files can be restored to their prior state. This is controlled by the enable_file_checkpoint setting (default true).
  • OpenCode: Utilizes OpenCode’s server-side session revert capability to restore prior state.
  • Codex & Pi Agent: Rewind truncates and forks the conversation context at the chosen prompt; changes made to disk are preserved.