1
0

dev-custom 920 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/fish
  2. # Make sure parent folder exists
  3. mkdir --parents $HOME/.vim
  4. # Customize configurations
  5. cp --link Templates/home/vim/vimrc $HOME/.vim/vimrc
  6. cp --link Templates/home/config/gitignore $HOME/.config/gitignore
  7. # Set bat color theme
  8. set --export --universal BAT_THEME GitHub
  9. # Configure git
  10. git config --global user.email "dev@jovian-hersemeule.eu"
  11. git config --global user.name "DricomDragon"
  12. git config --global core.editor "vim"
  13. git config --global push.followTags true
  14. git config --global diff.tool vimdiff
  15. git config --global core.excludesfile '~/.config/gitignore'
  16. # Git two-ways merge tool (look for whiteinge/diffconflicts in vimrc)
  17. git config --global merge.tool diffconflicts
  18. git config --global mergetool.diffconflicts.cmd 'vim -c DiffConflicts "$MERGED" "$BASE" "$LOCAL" "$REMOTE"'
  19. git config --global mergetool.diffconflicts.trustExitCode true
  20. git config --global mergetool.keepBackup false