Use the conditional jump only for the diff pager
This commit is contained in:
parent
a7dfab14cd
commit
402de670bf
1 changed files with 2 additions and 2 deletions
|
|
@ -11,11 +11,11 @@
|
|||
ci = commit -a -v
|
||||
br = branch
|
||||
sta = stash
|
||||
[core]
|
||||
[pager]
|
||||
# use less as pager
|
||||
# -R is necessary to display colors in less
|
||||
# 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
|
||||
pager = less -R +'/^\\@\\@\\s'
|
||||
diff = less -R +'/^\\@\\@\\s'
|
||||
[color]
|
||||
ui = auto
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue