mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
update git config
This commit is contained in:
parent
3004efa797
commit
fe51ab6fde
3 changed files with 31 additions and 0 deletions
26
git/conf.d/delta.gitconfig
Normal file
26
git/conf.d/delta.gitconfig
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# vim: ft=gitconfig
|
||||
[core]
|
||||
pager = delta
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[delta]
|
||||
syntax-theme = "custom"
|
||||
line-numbers = true
|
||||
file-style = bold blue
|
||||
file-decoration-style = none
|
||||
hunk-header-style = line-number
|
||||
hunk-header-decoration-style = ol gray
|
||||
line-numbers-left-style = gray
|
||||
plus-style = syntax "#09200D"
|
||||
plus-emph-style = syntax "#195724"
|
||||
minus-style = syntax "#220301"
|
||||
minus-emph-style = syntax "#4A0702"
|
||||
line-numbers-plus-style = "green"
|
||||
line-numbers-minus-style = "red"
|
||||
line-numbers-zero-style = "#343959"
|
||||
line-numbers-left-format = " {nm:^1} : "
|
||||
line-numbers-right-format = "{np:^1} │ "
|
||||
line-numbers-right-style = "#41476F"
|
||||
line-numbers-left-style = "#343959"
|
||||
12
git/config
Normal file
12
git/config
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[user]
|
||||
email = henrik.hautakoski@gmail.com
|
||||
name = Henrik Hautakoski
|
||||
[pull]
|
||||
rebase = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[fetch]
|
||||
prune = true
|
||||
|
||||
[include]
|
||||
path = ~/.config/git/delta.gitconfig
|
||||
Loading…
Add table
Add a link
Reference in a new issue