fix(git): navigation in diffs
When using delta diff, you could not navigate the hunks of the diff. It would only jump between file changes. This was due to the use of the raw hunk header. It must not be included in the default `navigate-regex`. I have updated the regex so it includes the default hunk patter so now when you have in a diff and press `n` it will navigate the hunks as well as the file changes.
This commit is contained in:
parent
e1fc3341e6
commit
0e90eac407
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
|||
[delta]
|
||||
line-numbers = true
|
||||
navigate = true
|
||||
navigate-regex = "^(modified|added:|removed:|renamed:|Δ|@@\\s)"
|
||||
hunk-header-style = raw
|
||||
hunk-header-decoration-style = ul
|
||||
file-modified-label = "modified:"
|
||||
|
|
|
|||
Loading…
Reference in a new issue