summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDan Davison <dan@c13552dan.lan>2021-07-28 19:54:49 +0100
committerDan Davison <dan@c13552dan.lan>2021-07-28 19:56:22 +0100
commitef92f3f646f86c156ae6893c53dbcf0038b8a8e2 (patch)
treee527af8f394218f05fd00e58970e9fd3a173689f /README.md
parentc2dc651678843c18287e7dab6e189b1f8eb4e123 (diff)
Change example config in README
- Use `keep-plus-minus-markers = false` for `git add -p` - Otherwise resemble "hoopoe" theme
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 12 insertions, 6 deletions
diff --git a/README.md b/README.md
index 5ad2f895..a38b5fc4 100644
--- a/README.md
+++ b/README.md
@@ -64,16 +64,22 @@ The most convenient way to configure delta is with a `[delta]` section in `~/.gi
show = delta
[interactive]
- diffFilter = delta --color-only
+ diffFilter = delta --color-only --features=interactive
[delta]
- features = side-by-side line-numbers decorations
- whitespace-error-style = 22 reverse
+ features = decorations
+
+[delta "interactive"]
+ keep-plus-minus-markers = false
[delta "decorations"]
- commit-decoration-style = bold yellow box ul
- file-style = bold yellow ul
- file-decoration-style = none
+ commit-decoration-style = blue ol
+ commit-style = raw
+ file-style = omit
+ hunk-header-decoration-style = blue box
+ hunk-header-file-style = red
+ hunk-header-line-number-style = "#067a00"
+ hunk-header-style = file line-number syntax
```
</sub>