points/.gitconfig
2023-06-13 12:09:17 +02:00

69 lines
1.2 KiB
INI

[alias]
br = branch
co = checkout
root = rev-parse --show-toplevel
st = status
tree = log --oneline --graph --decorate --all
[core]
pager = delta
[delta]
features = "my-style"
[delta "kitty"]
navigate = true
side-by-side = true
line-numbers-minus-style = "black #aa0000"
line-numbers-plus-style = "black #00aa00"
[delta "lazygit"]
paging = never
[delta "my-style"]
dark = true
line-numbers = true
line-numbers-minus-style = red
line-numbers-plus-style = green
minus-style = "syntax #440000"
plus-emph-style = "syntax #007700"
plus-style = "syntax #004400"
syntax-theme = Coldark-Dark
[diff]
colorMoved = default
[gui]
spellingdictionary = en
fontdiff = -family Hack -size 10 -weight normal -slant roman -underline 0 -overstrike 0
[guitool "Add to .gitignore"]
cmd = echo \"$FILENAME\" >> .gitignore & git add .gitignore
needsfile = yes
noconsole = yes
[guitool "clang-format"]
cmd = clang-format -style=file -i $FILENAME
needsfile = yes
noconsole = yes
[guitool "gvim"]
cmd = gvim $FILENAME
needsfile = yes
noconsole = yes
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[pull]
ff = only
[user]
useConfigOnly = true