|
70 | 70 | # Detect copies as well as renames.
|
71 | 71 | renames = copies
|
72 | 72 |
|
| 73 | +[diff] |
| 74 | + |
| 75 | + # Detect moved blocks of code and style them differently |
| 76 | + colorMoved = default |
| 77 | + |
73 | 78 | [diff "bin"]
|
74 | 79 |
|
75 | 80 | # Use `hexdump` to diff binary files.
|
|
111 | 116 | [init]
|
112 | 117 |
|
113 | 118 | defaultBranch = main
|
| 119 | + |
| 120 | +[pager] |
| 121 | + diff = delta |
| 122 | + log = delta |
| 123 | + reflog = delta |
| 124 | + show = delta |
| 125 | + |
| 126 | +[interactive] |
| 127 | + diffFilter = delta --diff-so-fancy |
| 128 | + |
| 129 | +[delta] |
| 130 | + features = diff-so-fancy |
| 131 | + syntax-theme = Dracula |
| 132 | + whitespace-error-style = 22 reverse |
| 133 | + |
| 134 | +[delta "decorations"] |
| 135 | + commit-decoration-style = bold yellow box ul |
| 136 | + file-style = bold yellow ul |
| 137 | + file-decoration-style = none |
| 138 | + |
| 139 | +[delta "diff-so-fancy"] |
| 140 | + commit-style = bold yellow |
| 141 | + file-style = bold yellow |
| 142 | + hunk-header-style = bold purple |
| 143 | + minus-style = red |
| 144 | + minus-non-emph-style = red |
| 145 | + minus-emph-style = bold red 52 |
| 146 | + minus-empty-line-marker-style = normal "#3f0001" |
| 147 | + zero-style = normal |
| 148 | + plus-style = green |
| 149 | + plus-non-emph-style = green |
| 150 | + plus-emph-style = bold green 22 |
| 151 | + plus-empty-line-marker-style = normal "#002800" |
| 152 | + whitespace-error-style = reverse 22 |
| 153 | + true-color = true |
| 154 | + file-added-label = 'added:' |
| 155 | + file-modified-label = '' |
| 156 | + file-removed-label = 'removed:' |
| 157 | + file-renamed-label = 'renamed:' |
| 158 | + hyperlinks = false |
| 159 | + inspect-raw-lines = true |
| 160 | + keep-plus-minus-markers = false |
| 161 | + line-numbers = true |
| 162 | + line-numbers-minus-style = 88 |
| 163 | + line-numbers-zero-style = "#444444" |
| 164 | + line-numbers-plus-style = 28 |
| 165 | + line-numbers-left-style = blue |
| 166 | + line-numbers-right-style = blue |
| 167 | + line-numbers-left-format = '{nm:^4}⋮' |
| 168 | + line-numbers-right-format = '{np:^4}│' |
| 169 | + max-line-distance = 0.6 |
| 170 | + max-line-length = 512 |
| 171 | + navigate = false |
| 172 | + navigate-regexp = |
| 173 | + paging = auto |
| 174 | + side-by-side = false |
| 175 | + syntax-theme = Dracula |
| 176 | + width = 95 |
| 177 | + tabs = 4 |
0 commit comments