Replacing diff-so-fancy with delta.

They are largely comparable, but I'm interested in the syntax
highlighting that ships with delta, and more regular upkeep and
security checks
This commit is contained in:
James Patrick 2021-04-27 14:39:49 -04:00
parent 9cd50287b8
commit 7deffb5cd2
2 changed files with 17 additions and 3 deletions

View File

@ -3,8 +3,22 @@
name = James Patrick
[core]
pager = diff-so-fancy | less -FXRi
editor = vim
pager = delta
editor = vim
[interactive]
diffFilter = delta --color-only
[delta]
features = line-numbers decorations
whitespace-error-style = 22 reverse
navigate = true
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold cyan ul
file-decoration-style = none
hunk-header-decoration-style = none
[github]
user = jamesepatrick
[alias]

View File

@ -4,7 +4,7 @@ source ${ZPLUG_HOME}/init.zsh
zplug "${ZDIR}/modules/bin/", from:local, as:command, use:"*"
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf
zplug "zdharma/zsh-diff-so-fancy", as:command, use:"bin/{git-dsf,diff-so-fancy}"
zplug "dandavison/delta", from:gh-r, as:command, rename-to:delta
zplug "${ZDIR}/modules/alias/", from:local, as:plugin
zplug "${ZDIR}/modules/complete/", from:local, as:plugin, defer:2