delta vs. diff-so-fancy

main
Steffen Rademacker 2 years ago
parent b993ed2532
commit c8d55deb7a

@ -5,7 +5,7 @@
excludesfile = ~/.gitignore excludesfile = ~/.gitignore
autocrlf = input autocrlf = input
eol = lf eol = lf
pager = diff-so-fancy | less -F -i -J -M -R -W -x2 -X -z-4 pager = delta
[color] [color]
ui = auto ui = auto
@ -57,6 +57,10 @@
tool = nvim -d tool = nvim -d
guitool = nvim -d guitool = nvim -d
compactionHeuristic = true compactionHeuristic = true
colorMoved = default
[merge]
conflictstyle = diff3
[mergetool] [mergetool]
prompt = false prompt = false
@ -69,7 +73,19 @@
rebase = false rebase = false
[interactive] [interactive]
diffFilter = diff-highlight diffFilter = delta --color-only
[credential] [credential]
helper = store helper = store
[delta]
blame-code-style = syntax
blame-format = "{commit:<8} • {author:<18} • {timestamp:<15}"
blame-palette = "#333333"
hunk-header-style = omit
hyperlinks = false
navigate = true
side-by-side = true
syntax-theme = gruvbox-dark
width = "-4"

@ -32,8 +32,8 @@ ln -s ~/dotfiles/spotifyd.toml ~/.config/spotifyd/spotifyd.conf
ln -s ~/dotfiles/lazygit ~/Library/Application\ Support/lazygit ln -s ~/dotfiles/lazygit ~/Library/Application\ Support/lazygit
# other cli tools and helpers # other cli tools and helpers
npm install -g diff-so-fancy
npm install -g fkill-cli npm install -g fkill-cli
npm install -g trash-cli
pip install tiptop pip install tiptop
cargo install bartib cargo install bartib

@ -13,4 +13,4 @@ git:
branchLogCmd: "git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit" branchLogCmd: "git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit"
paging: paging:
colorArg: always colorArg: always
pager: diff-so-fancy pager: delta --dark --paging=never

Loading…
Cancel
Save