git pager jump to diff sections instead of files
This commit is contained in:
parent
040fdd66f8
commit
a7dfab14cd
1 changed files with 1 additions and 1 deletions
|
|
@ -16,6 +16,6 @@
|
||||||
# -R is necessary to display colors in less
|
# -R is necessary to display colors in less
|
||||||
# the '+' calls a command at start, that will jump to the first diff section
|
# the '+' calls a command at start, that will jump to the first diff section
|
||||||
# then, you just have to type 'n' to iterate over diff sections
|
# then, you just have to type 'n' to iterate over diff sections
|
||||||
pager = less -R +'/-{3}'
|
pager = less -R +'/^\\@\\@\\s'
|
||||||
[color]
|
[color]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue