annotate runtime/doc/vimdiff.man @ 13178:f83d3a633ccb v8.0.1463

patch 8.0.1463: test fails without 'autochdir' option commit https://github.com/vim/vim/commit/ec48a9c58989babcad23d73483955f35b6e41492 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 3 20:11:40 2018 +0100 patch 8.0.1463: test fails without 'autochdir' option Problem: Test fails without 'autochdir' option. Solution: Skip test if 'autochdir' is not supported.
author Christian Brabandt <cb@256bit.org>
date Sat, 03 Feb 2018 20:15:05 +0100
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)