1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-02 09:21:40 +02:00

Update Custom_Pagers.md

This commit is contained in:
Jesse Duffield 2020-03-04 00:06:49 +11:00 committed by GitHub
parent 9912998bb7
commit 87c2fb6a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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