aboutsummaryrefslogtreecommitdiff
path: root/vim/doc/ft-gitcommit-plugin.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vim/doc/ft-gitcommit-plugin.txt')
-rw-r--r--vim/doc/ft-gitcommit-plugin.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/doc/ft-gitcommit-plugin.txt b/vim/doc/ft-gitcommit-plugin.txt
new file mode 100644
index 0000000..0d89ae1
--- /dev/null
+++ b/vim/doc/ft-gitcommit-plugin.txt
@@ -0,0 +1,5 @@
+GIT COMMIT *ft-gitcommit-plugin*
+
+One command, :DiffGitCached, is provided to show a diff of the current commit
+in the preview window. It is equivalent to calling "git diff --cached" plus
+any arguments given to the command.