diff --git a/.gitconfig b/.gitconfig index 8f3098b..574f26f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -12,9 +12,10 @@ br = branch sta = stash [core] - # color the diff, use less as 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 = colordiff | less -R +'/-{3}' - + pager = less -R +'/-{3}' +[color] + ui = auto