VDIFF(1) VDIFF(1) NAME vdiff - a visual diff viewer SYNOPSIS vdiff [ -b ] [ -p nstrip ] [ patches... ] DESCRIPTION Vdiff reads unified diff output from the list of patches or standard input and displays a colored version. Each file within the diff is displayed in a separate block that can be collapsed by clicking on the file name. Right clicking on a line will send a plumb(6) message to the edit port. Press- ing q or del will exit vdiff. A menu may be summoned with button 2 of the mouse. It pro- vides menu items for collapsing and expanding all files, as well as items for each patch present in the input. Vdiff understands terminators supplied by git/export(2). The -b flag changes the color scheme to white text on a black background. The -p flag removes nstrip path elements from the path before plumbing. EXAMPLE % git/diff | vdiff SOURCE /sys/src/cmd/vdiff.c SEE ALSO diff(1) HISTORY vdiff first appeared in 9front (January, 2024). Page 1 Plan 9 (printed 7/3/25)