jesseduffield / jesseduffield/lazygit
Using custom pager in full diffing panel / word wrapping in diff
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
Hello,
**Describe the bug**
My issue is diffing long lines:

I tried changing the pager to ydiff (config from https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md) but it works when browsing the changed files, but not when staging hunks, it goes back to the standard diff. I suppose it is to stage hunks the lazygit's way?
I'm not sure if it's a bug or an issue with my config. I'm relatively new with lazygit.
My issue is that long lines don't wrap.
**To Reproduce**
Try diffing long lines
**Expected behavior**
Seeing the complete diff even for long lines
**Screenshots**
ydiff:

no more ydiff:

**Desktop (please complete the following information):**
- OS: nixOS
- Lazygit Version v0.28.1
Kindest regards for any help!
Contributor guide
Assessment
This issue has not been assessed yet.