#!/usr/bin/fish

# Customize configurations
cp --link ./Templates/vimrc $HOME/.vim/vimrc
cp --link Templates/config/gitignore $HOME/.config/gitignore

# Set bat color theme
set --export --universal BAT_THEME GitHub

# Configure git
git config --global user.email "dev@jovian-hersemeule.eu"
git config --global user.name "DricomDragon"
git config --global core.editor "vim"
git config --global push.followTags true
git config --global diff.tool vimdiff
git config --global core.excludesfile '~/.config/gitignore'

# Git two-ways merge tool (look for whiteinge/diffconflicts in vimrc)
git config --global merge.tool diffconflicts
git config --global mergetool.diffconflicts.cmd 'vim -c DiffConflicts "$MERGED" "$BASE" "$LOCAL" "$REMOTE"'
git config --global mergetool.diffconflicts.trustExitCode true
git config --global mergetool.keepBackup false

