aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 8761d5c9d3b530ff8e76fd69e23428fbbfcef1b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff\_prune.vim
===============

This filetype plugin for diffs/patches ("diff" filetype) provides buffer-local
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.

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.

License
-------

Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself.
See `:help license`.

[1]: https://sanctum.geek.nz/