From 8e77a808fa110489f32729b97400f7f36a5039d7 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 8 Mar 2018 03:15:40 -0500 Subject: initial implementation --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..a9f881c --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# 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 + +## `: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` + +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` + +Closes an active diff window. -- cgit v1.2.3-54-g00ecf