diff options
| author | Yigit Sever | 2021-11-03 20:38:08 +0300 |
|---|---|---|
| committer | Yigit Sever | 2021-11-03 20:38:08 +0300 |
| commit | 93cdb13eada4e803fb4db71fb581d9e4a03d2119 (patch) | |
| tree | 1a3e954b2872e84170e3c992166e1afbd127b2f9 | |
| parent | 7ccce2fff0a9ecbee90c8d9b87258b499c9ed235 (diff) | |
| download | dotfiles-93cdb13eada4e803fb4db71fb581d9e4a03d2119.tar.gz dotfiles-93cdb13eada4e803fb4db71fb581d9e4a03d2119.tar.bz2 dotfiles-93cdb13eada4e803fb4db71fb581d9e4a03d2119.zip | |
git, lowe: migrate from diff-so-fancy to delta
| -rw-r--r-- | .gitconfig##h.lowe | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/.gitconfig##h.lowe b/.gitconfig##h.lowe index d0026b7..4e44bee 100644 --- a/.gitconfig##h.lowe +++ b/.gitconfig##h.lowe | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | [core] | 5 | [core] |
| 6 | autocrlf = input | 6 | autocrlf = input |
| 7 | safecrlf = true | 7 | safecrlf = true |
| 8 | pager = diff-so-fancy | less --tabs=4 -RFX | ||
| 9 | excludesfile = ~/.cvsignore | 8 | excludesfile = ~/.cvsignore |
| 10 | [alias] | 9 | [alias] |
| 11 | co = checkout | 10 | co = checkout |
| @@ -23,18 +22,6 @@ | |||
| 23 | helper = cache --timeout=3600 | 22 | helper = cache --timeout=3600 |
| 24 | [color] | 23 | [color] |
| 25 | ui = true | 24 | ui = true |
| 26 | [color "diff-highlight"] | ||
| 27 | oldNormal = red bold | ||
| 28 | oldHighlight = red bold 52 | ||
| 29 | newNormal = green bold | ||
| 30 | newHighlight = green bold 22 | ||
| 31 | [color "diff"] | ||
| 32 | meta = yellow | ||
| 33 | frag = magenta bold | ||
| 34 | commit = yellow bold | ||
| 35 | old = red bold | ||
| 36 | new = green bold | ||
| 37 | whitespace = red reverse | ||
| 38 | [commit] | 25 | [commit] |
| 39 | gpgsign = true | 26 | gpgsign = true |
| 40 | [sendemail] | 27 | [sendemail] |
| @@ -45,3 +32,24 @@ | |||
| 45 | ff = only | 32 | ff = only |
| 46 | [init] | 33 | [init] |
| 47 | defaultBranch = main | 34 | defaultBranch = main |
| 35 | [pager] | ||
| 36 | diff = delta | ||
| 37 | log = delta | ||
| 38 | reflog = delta | ||
| 39 | show = delta | ||
| 40 | [interactive] | ||
| 41 | diffFilter = delta --color-only | ||
| 42 | [delta] | ||
| 43 | features = line-numbers decorations side-by-side | ||
| 44 | plus-style = syntax "#003800" | ||
| 45 | minus-style = syntax "#3f0001" | ||
| 46 | [delta "decorations"] | ||
| 47 | commit-decoration-style = bold yellow box ul | ||
| 48 | file-style = bold yellow ul | ||
| 49 | file-decoration-style = none | ||
| 50 | hunk-header-decoration-style = cyan box ul | ||
| 51 | [delta "line-numbers"] | ||
| 52 | line-numbers-left-style = cyan | ||
| 53 | line-numbers-right-style = cyan | ||
| 54 | line-numbers-minus-style = 124 | ||
| 55 | line-numbers-plus-style = 28 | ||
