Separate color from pager

This commit is contained in:
Johann Dreo 2013-03-12 22:36:43 +01:00
commit 040fdd66f8

View file

@ -12,9 +12,10 @@
br = branch br = branch
sta = stash sta = stash
[core] [core]
# color the diff, 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 = colordiff | less -R +'/-{3}' pager = less -R +'/-{3}'
[color]
ui = auto