diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-03-08 03:15:40 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-03-08 03:15:40 -0500 |
commit | 8e77a808fa110489f32729b97400f7f36a5039d7 (patch) | |
tree | cb59d13c15bb022566483e4340b79f4132524975 /doc | |
parent | 1dfa13b10155b579756d2ca136ddeb077e039396 (diff) | |
download | vim-diff-changes-8e77a808fa110489f32729b97400f7f36a5039d7.tar.gz vim-diff-changes-8e77a808fa110489f32729b97400f7f36a5039d7.zip |
initial implementation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/diff-changes.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/diff-changes.txt b/doc/diff-changes.txt new file mode 100644 index 0000000..0f56a0b --- /dev/null +++ b/doc/diff-changes.txt @@ -0,0 +1,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: |