summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-03-04 00:06:49 +1100
committerGitHub <noreply@github.com>2020-03-04 00:06:49 +1100
commit87c2fb6a4a1b6a6d13d93168177aed61c39c49d4 (patch)
tree26a849710fd31f4e552fe0380c7de88eaf528665 /docs
parent9912998bb7bc2a1323e2f1db784e083aa1a5437b (diff)
Update Custom_Pagers.md
Diffstat (limited to 'docs')
-rw-r--r--docs/Custom_Pagers.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/Custom_Pagers.md b/docs/Custom_Pagers.md
index 02c913ea0..37d11b3ca 100644
--- a/docs/Custom_Pagers.md
+++ b/docs/Custom_Pagers.md
@@ -24,7 +24,7 @@ git:
pager: delta --dark --paging=never --24-bit-color=never
```
-![](https://i.imgur.com/A4C3xiZ.png)
+![](https://i.imgur.com/QJpQkF3.png)
## Diff-so-fancy
@@ -37,6 +37,21 @@ git:
![](https://i.imgur.com/rjH1TpT.png)
+## ydiff
+
+```yaml
+gui:
+ sidePanelWidth: 0.2 # gives you more space to show things side-by-side
+git:
+ paging:
+ colorArg: never
+ pager: ydiff -p cat -s --wrap --width={{columnWidth}}
+```
+
+![](https://i.imgur.com/vaa8z0H.png)
+
+Be careful with this one, I think the homebrew and pip versions are behind master. I needed to directly download the ydiff script to get the no-pager functionality working.
+
## Using git config
```yaml