blob: bdc591d32f58dca35ea197bf01e32f781a9b586a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
*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.
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:
|