aboutsummaryrefslogtreecommitdiffstats
path: root/doc/diff-changes.txt
blob: 0f56a0be4055dc197e2b1f324c0e09ce08d0f3a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
*diff-changes.txt*  Diff buffer contents against file on disk or in the VCS

Author:  Jesse Luehrs <https://tozt.net/>
License: MIT

=============================================================================
OVERVIEW                                              *diff-changes-overview*

This plugin adds commands which diff the current buffer against the file it
was loaded from, either the state on disk or the state in version control
(similar to `vimdiff` except without requiring writing the buffer state to
disk).

=============================================================================
COMMANDS                                              *diff-changes-commands*

                                       *:DiffAgainstFilesystem*
>
    :DiffAgainstFilesystem
<
Opens a diff window which diffs the buffer contents against the contents of
the file on disk. Use |:DiffStop| to close the diff window.

                                       *:DiffAgainstVCS*
>
    :DiffAgainstVCS
<
Opens a diff window which diffs the buffer contents against the contents of
the file in the most recent commit in version control. Use |:DiffStop| to
close the diff window. Supports git, svn, darcs, and cvs.

                                       *:DiffStop*
>
    :DiffStop
<
Closes an active diff window.

 vim:tw=78:et:ft=help:norl: