From 87c2fb6a4a1b6a6d13d93168177aed61c39c49d4 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 4 Mar 2020 00:06:49 +1100 Subject: [PATCH] Update Custom_Pagers.md --- docs/Custom_Pagers.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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