Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 816 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 816 Bytes

pretty-diff

A keyboard-first terminal UI for reviewing diffs across multiple file pairs.

Install

cargo install --path .

Usage

Pass files as one or more LEFT RIGHT pairs:

pretty-diff old.rs new.rs before.toml after.toml

Run pretty-diff --help for the complete command reference.

Development sandbox

The gitignored sandbox/ is a standalone Git repository containing committed baseline files and uncommitted Rust, TOML, JSON, Markdown, and YAML edits. Review every working-tree change against its committed HEAD version from the repository root with:

cargo sandbox

Keys

Key Action
j / k, arrows Scroll down / up
g / G Jump to top / bottom
Tab, h / l, left / right Select file pair
q, Esc Quit