mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Add git-delta to .gitconfig
This commit is contained in:
23
.gitconfig
23
.gitconfig
@@ -1,3 +1,6 @@
|
|||||||
|
[include]
|
||||||
|
path = ~/.gitconfig-work
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
aa = add -A .
|
aa = add -A .
|
||||||
br = branch
|
br = branch
|
||||||
@@ -31,9 +34,7 @@
|
|||||||
|
|
||||||
[core]
|
[core]
|
||||||
editor = vim
|
editor = vim
|
||||||
|
pager = delta
|
||||||
[user]
|
|
||||||
name = Dave Gallant
|
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
@@ -46,7 +47,23 @@
|
|||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
required = true
|
required = true
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
|
||||||
[gpg]
|
[gpg]
|
||||||
program = gpg
|
program = gpg
|
||||||
|
|
||||||
|
[core]
|
||||||
|
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
|
|
||||||
|
[delta]
|
||||||
|
features = line-numbers decorations
|
||||||
|
whitespace-error-style = 22 reverse
|
||||||
|
|
||||||
|
[delta "decorations"]
|
||||||
|
commit-decoration-style = bold yellow box ul
|
||||||
|
file-style = bold yellow ul
|
||||||
|
file-decoration-style = none
|
||||||
|
Reference in New Issue
Block a user