git: delta options, difftastic aliases, delta as lazygit pager

difft is a cargo install on sctfw004 (not in Ubuntu repos), so
pkg-snapshot does not track it there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Connor JohnstoneandClaude Opus 5.5 committed 2026-09-30 19:24:39 -04:00
1 parent 0943d99465
commit 943e4fdfda
2 files changed
+13

No files matched your search

+9
View File
@@ -12,3 +12,12 @@
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # n/N jump between files
line-numbers = true
[merge]
conflictStyle = zdiff3
# Structural diffs via difftastic, on demand; delta stays the default pager.
[alias]
dft = -c diff.external=difft diff
dlog = -c diff.external=difft log -p --ext-diff
+4
View File
@@ -0,0 +1,4 @@
git:
paging:
colorArg: always
pager: delta --dark --paging=never