Skip to content

Using custom pager in full diffing panel / word wrapping in diff #1384

@Videl

Description

@Videl

Hello,
Describe the bug
My issue is diffing long lines:
20210714_13h37m52s_grim

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:

20210714_13h29m14s_grim

no more ydiff:

20210714_13h29m27s_grim

Desktop (please complete the following information):

  • OS: nixOS
  • Lazygit Version v0.28.1

Kindest regards for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions