[GIT] Slim delta, colorMoved, section hunk headers, wsdiff alias
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
015027ed3b
commit
6ec88700a6
2 files changed
+26
-2
No files matched your search
@@ -0,0 +1,6 @@
|
||||
# hunk headers show the enclosing heading/section
|
||||
*.md diff=markdown
|
||||
gitconfig diff=ini
|
||||
*.gitconfig diff=ini
|
||||
*.ini diff=ini
|
||||
*.toml diff=ini
|
||||
+20
-2
@@ -1,8 +1,8 @@
|
||||
# This is Git's per-user configuration file.
|
||||
[user]
|
||||
# Please adapt and uncomment the following lines:
|
||||
name = Fabian Ising
|
||||
email = github@murgi.de
|
||||
name = Fabian Ising
|
||||
email = github@murgi.de
|
||||
|
||||
[includeIf "hasconfig:remote.*.url:https://github.com/**"]
|
||||
path = ~/dotfiles/gitconfig/github.gitconfig
|
||||
@@ -26,6 +26,7 @@ email = github@murgi.de
|
||||
path = ~/dotfiles/gitconfig/sit.gitconfig
|
||||
[core]
|
||||
excludesfile = ~/dotfiles/.gitignore_global
|
||||
attributesfile = ~/dotfiles/gitconfig/attributes
|
||||
pager = delta
|
||||
[submodule]
|
||||
recurse = true
|
||||
@@ -40,5 +41,22 @@ email = github@murgi.de
|
||||
rebase = true
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[diff]
|
||||
colorMoved = default
|
||||
[delta]
|
||||
navigate = true
|
||||
; plain look: +/- markers, line backgrounds (auto light/dark), no syntax colors
|
||||
keep-plus-minus-markers = true
|
||||
syntax-theme = none
|
||||
file-style = bold
|
||||
file-decoration-style = none
|
||||
hunk-header-style = file syntax
|
||||
hunk-header-decoration-style = none
|
||||
tabs = 4
|
||||
line-numbers = true
|
||||
line-numbers-left-format =
|
||||
line-numbers-right-format = "{np:>4} "
|
||||
[diff "ini"]
|
||||
xfuncname = "^\\[.*\\]"
|
||||
[alias]
|
||||
wsdiff = -c pager.diff='less -R' -c color.diff.old='red reverse' -c color.diff.new='green reverse' diff --word-diff=color --word-diff-regex='[^[:space:]]+|[[:space:]]+'
|
||||
Reference in new issue
Block a user