[diff] tool = difftastic # make difftastic the default for `git diff`, via a wrapper that falls back # to plain diff if difft isn't installed (see ~/dotfiles/bin/git-difft). # git log/show/add -p keep using the internal diff + delta pager. external = git-difft [difftool] prompt = false [difftool "difftastic"] cmd = difft "$LOCAL" "$REMOTE" [pager] difftool = true # page `git diff` (now difftastic output) with less, NOT delta — delta would # garble difftastic's already-formatted output. core.pager=delta still applies # to log/show/blame. diff = less -R [alias] dft = difftool dlog = "-c diff.external=difft log -p --ext-diff"