Separate color from pager
This commit is contained in:
parent
9e9e6bb5a7
commit
040fdd66f8
1 changed files with 4 additions and 3 deletions
|
|
@ -12,9 +12,10 @@
|
||||||
br = branch
|
br = branch
|
||||||
sta = stash
|
sta = stash
|
||||||
[core]
|
[core]
|
||||||
# color the diff, use less as pager
|
# use less as pager
|
||||||
# -R is necessary to display colors in less
|
# -R is necessary to display colors in less
|
||||||
# the '+' calls a command at start, that will jump to the first diff section
|
# 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
|
# then, you just have to type 'n' to iterate over diff sections
|
||||||
pager = colordiff | less -R +'/-{3}'
|
pager = less -R +'/-{3}'
|
||||||
|
[color]
|
||||||
|
ui = auto
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue