1 .TH VIMDIFF 1 "2001 March 30"
3 vimdiff \- edit two or three versions of a file with Vim and show differences
7 [options] file1 file2 [file3]
14 on two (or three) files.
15 Each file gets its own window.
16 The differences between the files are highlighted.
17 This is a nice way to inspect changes and to move changes from one version
18 to another version of the same file.
20 See vim(1) for details about Vim itself.
24 the GUI will be started, if available.
26 In each window the 'diff' option will be set, which causes the differences
29 The 'wrap' and 'scrollbind' options are set to make the text look good.
31 The 'foldmethod' option is set to "diff", which puts ranges of lines without
32 changes in a fold. 'foldcolumn' is set to two to make it easy to spot the
33 folds and open or close them.
35 Vertical splits are used to align the lines, as if the "\-O" argument was used.
36 To use horizontal splits instead, use the "\-o" argument.
38 For all other arguments see vim(1).
44 was made by Bram Moolenaar, with a lot of help from others.
45 See ":help credits" in