git pager jump to diff sections instead of files

This commit is contained in:
Johann Dreo 2013-03-13 12:32:09 +01:00
commit a7dfab14cd

View file

@ -16,6 +16,6 @@
# -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 +'/-{3}'
pager = less -R +'/^\\@\\@\\s'
[color]
ui = auto