diff options
author | Matěj Cepl <mcepl@redhat.com> | 2013-09-09 23:53:51 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2015-02-06 13:16:39 +0100 |
commit | 4c595eec4698bc8cdcfdd344c3c5eeca6bf67bdc (patch) | |
tree | 5801122836b37b856bf49e6aa342f01365d13d31 /doc | |
parent | 4a8a92a2005e07afb1b675c19d4a89d9c6a74369 (diff) | |
download | vim-diff_navigator-4c595eec4698bc8cdcfdd344c3c5eeca6bf67bdc.tar.gz |
Add documentation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/diff_navigator.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/doc/diff_navigator.txt b/doc/diff_navigator.txt new file mode 100644 index 0000000..b72f149 --- /dev/null +++ b/doc/diff_navigator.txt @@ -0,0 +1,50 @@ +*diff_navigator.txt* Plugin for editing of patches + +Author: Petr Uzel <petr.uzel -at- centrum.cz> + Matěj Cepl <http://matej.ceplovi.cz/> +License: WTFPL + +INTRODUCTION *diff_navigator* + +Whenever you edit a patch (file with ft=diff), a set of commands is defined +for movement inside of the file and its edits. + + + *diff_navigator-commands* +COMMANDS *diff_navigator-commands* + + + *:DiffAnnotate* +:DiffAnnotate Filter whole patch through `filterdiff` (part of + `patchutils` package), which annotates all hunks with + explanatory heading (without changing semantic meaning + of each hunk). + + + *:DiffShowHunk* +:DiffShowHunk Decorate current hunk with explanatory heading + header. + + + *:DiffNextHunk* +:DiffNextHunk Jump to the next hunk. + + + *:DiffPrevHunk* +:DiffPrevHunk Jump to the previous hunk. + + + *:DiffSplitHunk* +:DiffSplitHunk Splits the hunk under the cursor, fixing previous + hunk header to correctly reflect the situation. + + + *:DiffDeleteHunk* +:DiffDeleteHunk Deletes the hunk under the cursor. It fixes all + hunks to have correctly changed headers. + + + *diff_navigator-settings* +This plugin doesn't have any settings. + + vim:tw=78:et:ft=help:norl: |