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:
1 parent
0943d99465
commit
943e4fdfda
2 files changed
+13
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,4 @@
|
||||
git:
|
||||
paging:
|
||||
colorArg: always
|
||||
pager: delta --dark --paging=never
|
||||
Reference in new issue
Block a user