Show within-line changes when doing git add -p so you can see what you're doing

Really liking https://github.com/mookid/diffr

Use Homebrow to install diffr:

brew install diffr

Then add this to your ~/.gitconfig:

[pager]
    log  = diffr | less
    show = diffr | less
    diff = diffr | less
[interactive]
    diffFilter = diffr

From setting up another new computer.

See also speeding up git add -p.