From a7dfab14cdc55f70a6122a55149e329403173816 Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 13 Mar 2013 12:32:09 +0100 Subject: [PATCH] git pager jump to diff sections instead of files --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 574f26f..43d3c3d 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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