Configure git-delta
This commit is contained in:
@@ -71,6 +71,9 @@
|
|||||||
fileMode = true
|
fileMode = true
|
||||||
whitespace = "blank-at-eol,space-before-tab,blank-at-eof"
|
whitespace = "blank-at-eol,space-before-tab,blank-at-eof"
|
||||||
abbrev = 8
|
abbrev = 8
|
||||||
|
pager = delta
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
[color]
|
[color]
|
||||||
ui = true
|
ui = true
|
||||||
[column]
|
[column]
|
||||||
@@ -78,7 +81,7 @@
|
|||||||
[push]
|
[push]
|
||||||
default = simple
|
default = simple
|
||||||
[merge]
|
[merge]
|
||||||
tool = vimdiff
|
conflictstyle = diff3
|
||||||
[gc]
|
[gc]
|
||||||
auto = 0
|
auto = 0
|
||||||
[advice]
|
[advice]
|
||||||
@@ -105,7 +108,6 @@
|
|||||||
autoStash = true
|
autoStash = true
|
||||||
[diff]
|
[diff]
|
||||||
submodule = log
|
submodule = log
|
||||||
mnemonicPrefix = true
|
|
||||||
renameLimit = 1199
|
renameLimit = 1199
|
||||||
[branch]
|
[branch]
|
||||||
autoSetupMerge = true
|
autoSetupMerge = true
|
||||||
@@ -124,3 +126,9 @@
|
|||||||
directory = /var/lib/dotfiles
|
directory = /var/lib/dotfiles
|
||||||
[includeIf "gitdir:/var/lib/dotfiles"]
|
[includeIf "gitdir:/var/lib/dotfiles"]
|
||||||
path = /var/lib/dotfiles/gitcfg
|
path = /var/lib/dotfiles/gitcfg
|
||||||
|
[delta]
|
||||||
|
navigate = true # use n and N to move between diff sections
|
||||||
|
|
||||||
|
# delta detects terminal colors automatically; set one of these to disable auto-detection
|
||||||
|
# dark = true
|
||||||
|
# light = true
|
||||||
|
|||||||
Reference in New Issue
Block a user