From 01e7eb4e8d387398b116f670e7345e0577a5a4c8 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Wed, 17 Apr 2013 10:51:45 +0200 Subject: [PATCH] Clarify that plugin works with saved buffers. --- README.mkd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.mkd b/README.mkd index 6c56d56..f6a77f5 100644 --- a/README.mkd +++ b/README.mkd @@ -39,6 +39,8 @@ Add `Bundle 'airblade/vim-gitgutter'` to your `~/.vimrc` and then: You don't have to do anything: it just works. +Please note the plugin diffs your saved buffers, i.e. the files on disk. It produces the same result as running `git diff` on the command line. It won't see any unsaved changes to a buffer. + You can explicitly turn vim-gitgutter off and on (defaults to on): * turn off with `:GitGutterDisable`