(git) introducting diff-so-fancy
This commit is contained in:
parent
ed9ef50e66
commit
2cdab434ac
3 changed files with 10 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
gpgsign = true
|
||||
[core]
|
||||
autocrlf = false
|
||||
pager = less -FRX
|
||||
pager = diff-so-fancy | less --tabs=2 -RF
|
||||
[gpg]
|
||||
format = ssh
|
||||
[http]
|
||||
|
@ -26,3 +26,9 @@
|
|||
|
||||
[include]
|
||||
path = ~/.local/config/git
|
||||
[interactive]
|
||||
diffFilter = diff-so-fancy --patch
|
||||
[diff-so-fancy]
|
||||
markEmptyLines = true
|
||||
changeHunkIndicators = true
|
||||
rulerWidth = 40
|
||||
|
|
|
@ -7,7 +7,7 @@ if [[ -f "${HOME}/.note" ]]; then
|
|||
echo
|
||||
fi
|
||||
|
||||
tabs 2
|
||||
tabs 2,4,6,8,10,12,14,16,18,20
|
||||
|
||||
# instant prompt should stay on the top
|
||||
if [[ -r "${XDG_CACHE_HOME}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
|
@ -75,6 +75,7 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
|||
# source modules
|
||||
source "${HOME}/.local/git/zsh_modules/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh"
|
||||
source "${HOME}/.local/git/zsh_modules/wd/wd.plugin.zsh"
|
||||
source "${HOME}/.local/git/zsh_modules/diff-so-fancy/diff-so-fancy.plugin.zsh"
|
||||
export WD_CONFIG="${XDG_CONFIG_HOME}/wd_list"
|
||||
|
||||
# cleaning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue