Inspect modifications with side-by-side file differences against disk state, and restore earlier revisions from Linen's version timeline.
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.
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.
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.