diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-24 22:57:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-24 22:57:53 +1200 |
commit | 30696fc63f76f8e3028f2658fd6d55f180133317 (patch) | |
tree | 2dfd2bc03a172bfa9b557763c0b2194a9ee3b578 /README.md | |
download | vim-diff-prune-30696fc63f76f8e3028f2658fd6d55f180133317.tar.gz vim-diff-prune-30696fc63f76f8e3028f2658fd6d55f180133317.zip |
Initial versionv0.1.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..c8bafe3 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +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. + +The default binding is `<LocalLeader>p`. + +License +------- + +Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. +See `:help license`. + +[1]: https://sanctum.geek.nz/ |