LazyGit: Use Custom pagers with lazygit
Not sure why I haven't noticed this before - I guess I hadn't looked for it or seen the need just yet. But you can add custom pagers to LazyGit so you can see a better git diff view than what it normally gives you.
In your configuration file (can we opened by pressing e in the status panel in LazyGit), you can define:
git:
pagers:
- pager: delta --dark --paging=never
- pager: ydiff -p cat -s --wrap --width={{columnWidth}}
colorArg: never
- externalDiffCommand: difft --color=always
Defining multiple, makes it so you can cycle through them using | - which is great!
I only have one defined, which is pager: delta --dark --paging=never (read more about delta here)