mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat: add delta diff viewer
This commit is contained in:
12
gitconfig
12
gitconfig
@@ -9,6 +9,16 @@
|
||||
excludesfile = ~/.gitignore
|
||||
legacyheaders = false
|
||||
whitespace = trailing-space,space-before-tab
|
||||
pager = delta
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[add.interactive]
|
||||
useBuildtin = false
|
||||
[delta]
|
||||
navigate = true
|
||||
light = false
|
||||
line-numbers = true
|
||||
syntax-theme = Dracula
|
||||
[alias]
|
||||
st = status
|
||||
ci = commit
|
||||
@@ -62,11 +72,13 @@
|
||||
[diff]
|
||||
tool = Kaleidoscope
|
||||
algorithm = patience
|
||||
colorMoved = default
|
||||
[difftool]
|
||||
prompt = false
|
||||
[difftool "Kaleidoscope"]
|
||||
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
|
||||
[merge]
|
||||
conflictstyle = diff3
|
||||
tool = Kaleidoscope
|
||||
[mergetool]
|
||||
prompt = false
|
||||
|
||||
Reference in New Issue
Block a user