Git diff-so-fancy
From wikinotes
NOTE:
I've stopped using this globally. It wasn't working consistently everywhere. I'd prefer to
a) use something that is entirely python, bash, or compiled b) only use it on dev machines
It's a very good idea though.
https://github.com/so-fancy/diff-so-fancy
Reformats the git-diff headers so that they are MUCH more readable. https://github.com/so-fancy/diff-so-fancy
sudo pacman -S npm
sudo npm install -g diff-so-fancy
git config --global pager.diff "diff-so-fancy | less --tabs=1,5 -RFX"
git config --global pager.show "diff-so-fancy | less --tabs=1,5 -RFX"