All apps/diffnav

diffnav

diffnav

A git diff pager based on delta with a file tree.

Runs as diffnav|macOS, Linux, Windows|github.com

Command form

ai-draft · 1 task · 5 fields

Open diffnav with a view mode or watch mode. Piped diffs (git diff | diffnav) are not covered; this form uses watch mode.

Opens the form; the finished command lands at your prompt, unrun
otty gui diffnav
Diff viewerExample values, fixed in this page — nothing here reaches a terminal
Basic
Unified view
--unified
Watch mode
--watch
Watch command
string
Refresh interval
string
TasksEach one presets the form for one job
Watch changes
watchwatch_cmdwatch_intervalunified
ParametersOnly these flags are editable in the form
Side-by-side view
boolean
--side-by-side-s
Unified view
boolean
--unified-u
Watch mode
Periodically re-run a command (default: git diff) and refresh.
boolean
--watch-w
Watch command
Implies watch mode.
string
--watch-cmdgit diff --cachedgit diff
Refresh interval
For example 2s or 5s.
string
--watch-interval
SourcesEvery flag above is checked against these
readme
| `--side-by-side, -s` | Force side-by-side diff view | | `--unified, -u` | Force unified diff view | | `--watch, -w` | Watch mode: periodically re-run a command and refresh | | `--watch-cmd` | Command to run in watch mode (implies `--wat…
help

github.com

Before it fills your prompt, Otty checks the installed diffnav against its version. A form that does not match your version is not offered.