Git
Color slots for every command git colorizes, plus a named log format and a delta feature block.
Install
Copy a variant and include it, so your own .gitconfig stays yours:
mkdir -p ~/.config/git
cp extras/git/silkcircuit-neon.gitconfig ~/.config/git/
git config --global --add include.path ~/.config/git/silkcircuit-neon.gitconfigThe installer does the same thing, include and all: ./install.sh, or ./install.sh --variant neon for just that one.
What it sets
Colors only, in the [color], [color "branch"], [color "decorate"], [color "diff"], [color "status"], [color "interactive"], and [color "grep"] sections. Git takes 24-bit hex values in every one of them, so these are the same hex codes the editor uses rather than the nearest ANSI slot.
The opt-ins at the bottom
Three things in the file do nothing until you ask for them, because switching someone's pager or log format is not a color scheme's business:
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = silkcircuit-neonThe delta feature expects the matching bat theme, since delta takes its syntax highlighting from bat's theme cache.
The log format is named rather than default, so reach for it with git log --pretty=silkcircuit, or make it the default:
[format]
pretty = silkcircuitFiles
| Variant | File |
|---|---|
| neon | extras/git/silkcircuit-neon.gitconfig |
| vibrant | extras/git/silkcircuit-vibrant.gitconfig |
| soft | extras/git/silkcircuit-soft.gitconfig |
| glow | extras/git/silkcircuit-glow.gitconfig |
| dawn | extras/git/silkcircuit-dawn.gitconfig |
