git: Use delta as pager and diff tool
This commit is contained in:
parent
e64bca1b05
commit
0bfbcbe82b
|
|
@ -0,0 +1,44 @@
|
||||||
|
[core]
|
||||||
|
pager = delta
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
navigate = true # use n and N to move between diff sections
|
||||||
|
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
|
||||||
|
dark = true
|
||||||
|
line-numbers = true
|
||||||
|
hyperlinks = true
|
||||||
|
side-by-side = true
|
||||||
|
syntax-theme = Nord
|
||||||
|
keep-plus-minus-markers = false
|
||||||
|
file-style = "#8fbcbb" bold
|
||||||
|
file-decoration-style = "#8fbcbb" ul
|
||||||
|
file-added-label = [+]
|
||||||
|
file-copied-label = [==]
|
||||||
|
file-modified-label = [*]
|
||||||
|
file-removed-label = [-]
|
||||||
|
file-renamed-label = [->]
|
||||||
|
hunk-header-style = omit
|
||||||
|
line-numbers-left-format = " {nm:>3} │"
|
||||||
|
line-numbers-left-style = red
|
||||||
|
line-numbers-right-format = " {np:>3} │"
|
||||||
|
line-numbers-right-style = green
|
||||||
|
line-numbers-minus-style = red italic
|
||||||
|
line-numbers-plus-style = green italic
|
||||||
|
line-numbers-zero-style = "#434C5E" italic
|
||||||
|
minus-style = bold red darkred
|
||||||
|
minus-emph-style = bold black red
|
||||||
|
minus-non-emph-style = syntax black
|
||||||
|
plus-style = bold green darkgreen
|
||||||
|
plus-emph-style = bold black green
|
||||||
|
plus-non-emph-style = syntax black
|
||||||
|
zero-style = syntax
|
||||||
|
blame-code-style = syntax
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
colorMoved = default
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
archlinux-themes-sddm
|
archlinux-themes-sddm
|
||||||
as-tree
|
as-tree
|
||||||
checkupdates-with-aur
|
checkupdates-with-aur
|
||||||
|
delta
|
||||||
downgrade
|
downgrade
|
||||||
grimblast-git
|
grimblast-git
|
||||||
hyprland-nvidia-git
|
hyprland-nvidia-git
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue