1
0
forked from extern/nix-config
donovanglover-nix-config/git/.gitconfig
Donovan Glover c816942ec3
git: Change editor from vim to neovim
Neovim has some nice additions like honoring the blinking cursor from
kitty when in insert mode. I don't remember why I used vim instead of
neovim here, but neovim is mature enough that it should be an excellent
choice to use for many years to come.
2022-10-24 17:05:10 -04:00

52 lines
823 B
INI

[include]
path = ~/.gituser
# Always sign commits
[commit]
gpgsign = true
[core]
editor = nvim
autocrlf = false
pager = diff-so-fancy | less --tabs=4 -RFX
excludesfile = ~/.gitignore
quotePath = false
[web]
browser = librewolf
[push]
default = simple
[branch]
autosetuprebase = always
[init]
defaultBranch = master
[rerere]
enabled = true
[color]
ui = true
[alias]
contrib = shortlog -n -s
remotes = remote -v
praise = blame
verify = log --show-signature
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse