ref: 57b4f2b8e4c5037f726d71c71479a4561ab03137
dir: /sys/man/1/vdiff/
.TH VDIFF 1 .SH NAME vdiff \- a visual diff viewer .SH SYNOPSIS .B vdiff [ .B -b ] [ .B -p .I strip ] .SH DESCRIPTION .I vdiff reads unified diff output from standard input and displays a colored version. Each file diff is displayed in a separate block that can be collapsed by a click on the file name. Right clicking on a line will send a .IR plumb (6) message to the .B edit port. Pressing .B q or .B del will exit .B vdiff. .PP The .B \-b flag changes the color scheme to white text on a black background. .PP The .B \-p .I nstrip flag removes .I nstrip path elements from path before plumbing. .SH EXAMPLE % git/diff |vdiff .SH SOURCE /sys/src/cmd/vdiff.c .SH SEE ALSO .IR diff (1) .SH HISTORY vdiff first appeared in 9front (January, 2024).