Setup delta for git

This commit is contained in:
buffet 2022-05-02 08:27:54 +00:00
parent be9d378730
commit 6134736765

View file

@ -1,20 +1,37 @@
[user] [user]
email = dev@buffet.sh email = dev@buffet.sh
name = buffet name = buffet
[init] [init]
defaultBranch = master defaultBranch = master
[core]
pager = delta
[alias] [alias]
a = add a = add
b = branch b = branch
c = commit --verbose c = commit --verbose
m = commit --amend --verbose m = commit --amend --verbose
d = diff d = diff
ds = diff --stat ds = diff --stat
dc = diff --cached dc = diff --cached
s = status -s s = status -s
co = checkout co = checkout
cob = checkout -b cob = checkout -b
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[delta]
navigate = true
hyperlinks = true
syntax-theme = Solarized (light)