annotate runtime/doc/vimdiff.man @ 9291:bff3cd5cf922 v7.4.1928

commit https://github.com/vim/vim/commit/76ae22fef3cb224ca7fbf97517f881e825d4d0c2 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 13 20:00:29 2016 +0200 patch 7.4.1928 Problem: Overwriting pointer argument. Solution: Assign to what it points to. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Mon, 13 Jun 2016 20:15:06 +0200
parents f4f8014d516e
children fd37be6dc258
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
1 VIMDIFF(1) VIMDIFF(1)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 NAME
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 376
diff changeset
6 vimdiff - edit two, three or four versions of a file with Vim and show
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 376
diff changeset
7 differences
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 SYNOPSIS
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 376
diff changeset
10 vimdiff [options] file1 file2 [file3 [file4]]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 gvimdiff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 DESCRIPTION
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 376
diff changeset
15 Vimdiff starts Vim on two (or three or four) files. Each file gets its
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 376
diff changeset
16 own window. The differences between the files are highlighted. This
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 376
diff changeset
17 is a nice way to inspect changes and to move changes from one version
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 376
diff changeset
18 to another version of the same file.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 See vim(1) for details about Vim itself.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
22 When started as gvimdiff the GUI will be started, if available.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
24 In each window the 'diff' option will be set, which causes the differ-
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
25 ences to be highlighted.
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
26 The 'wrap' and 'scrollbind' options are set to make the text look good.
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
27 The 'foldmethod' option is set to "diff", which puts ranges of lines
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
28 without changes in a fold. 'foldcolumn' is set to two to make it easy
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
29 to spot the folds and open or close them.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 OPTIONS
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
32 Vertical splits are used to align the lines, as if the "-O" argument
376
d2bc505a6d91 updated for version 7.0098
vimboss
parents: 236
diff changeset
33 was used. To use horizontal splits instead, use the "-o" argument.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 For all other arguments see vim(1).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 SEE ALSO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 vim(1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 AUTHOR
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
41 Most of Vim was made by Bram Moolenaar, with a lot of help from others.
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
42 See ":help credits" in Vim.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
46 2001 March 30 VIMDIFF(1)