Live Diff & Version History

Inspect file modifications against disk state and browse automatic version snapshots.

Inspect modifications with side-by-side file differences against disk state, and restore earlier revisions from Linen's version timeline.

Linen version timeline
Version history timeline: compare revisions against current disk state and restore prior drafts.

Live Diff Against Disk

Press Command-D to toggle the Live Diff view. Linen compares your unsaved in-memory edits against the current file saved on disk, highlighting additions in green and deletions in red.

Linen find, replace, and diff preview
Live diff view highlighting changes against file on disk.

Automatic Snapshot Timeline

Linen automatically captures lightweight periodic snapshots of your files while you write. Browse the version timeline to inspect earlier drafts, compare versions, and recover lost text.

Linen version timeline in dark mode
Version timeline: step through past drafts and revert edits seamlessly.

Reverting & Restoring Safe States

Restore any prior revision with a single click, or copy specific code segments from previous snapshots without overwriting your current buffer.