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:
parent
9cd50287b8
commit
7deffb5cd2
|
@ -3,8 +3,22 @@
|
||||||
name = James Patrick
|
name = James Patrick
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
pager = diff-so-fancy | less -FXRi
|
pager = delta
|
||||||
editor = vim
|
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]
|
[github]
|
||||||
user = jamesepatrick
|
user = jamesepatrick
|
||||||
[alias]
|
[alias]
|
||||||
|
|
|
@ -4,7 +4,7 @@ source ${ZPLUG_HOME}/init.zsh
|
||||||
|
|
||||||
zplug "${ZDIR}/modules/bin/", from:local, as:command, use:"*"
|
zplug "${ZDIR}/modules/bin/", from:local, as:command, use:"*"
|
||||||
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf
|
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/alias/", from:local, as:plugin
|
||||||
zplug "${ZDIR}/modules/complete/", from:local, as:plugin, defer:2
|
zplug "${ZDIR}/modules/complete/", from:local, as:plugin, defer:2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user