aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-29 14:04:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-29 14:04:14 +1200
commitcdabe4762cc2f41d64a092b879fe09370c924cf8 (patch)
tree562e9891d55c3f9fe340812073b0a69256b9bfbe /README.md
parentBump VERSION (diff)
downloadvim-diff-prune-cdabe4762cc2f41d64a092b879fe09370c924cf8.tar.gz
vim-diff-prune-cdabe4762cc2f41d64a092b879fe09370c924cf8.zip
Add block removal feature
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8761d5c..1ef1769 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,9 @@ mappings in normal and visual mode to "undo" lines of changes defined by a
linewise motion or visual mode selection: leading minus signs are removed, and
lines with leading plus signs are deleted.
+If the changes result in a diff block or file block having no changes left, it
+is also removed.
+
This can be handy for using with the `-e` or `--edit` option to `git-add`,
which allows you to edit a diff before applying changes to the staging area.