Use the conditional jump only for the diff pager

This commit is contained in:
Johann Dreo 2013-03-13 23:14:25 +01:00
commit 402de670bf

View file

@ -11,11 +11,11 @@
ci = commit -a -v ci = commit -a -v
br = branch br = branch
sta = stash sta = stash
[core] [pager]
# use less as pager # use less as pager
# -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 +'/^\\@\\@\\s' diff = less -R +'/^\\@\\@\\s'
[color] [color]
ui = auto ui = auto