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