From 402de670bff075b3009d5371b68125ed526fd8ae Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 13 Mar 2013 23:14:25 +0100 Subject: [PATCH] Use the conditional jump only for the diff pager --- .gitconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitconfig b/.gitconfig index 43d3c3d..f6bcc1d 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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