Skip to content

{} change diff-context-size doesn't work in diff mode #5254

@goyalyashpal

Description

@goyalyashpal

Describe the bug

{} change diff-context-size doesn't work in diff mode 😆

To Reproduce

Steps to reproduce the behavior:

  1. start lazygit
  2. Go to [3] branches > W Diffing > press RET (enter)
  3. press DN (down arrow in branches) or 4 DN (down arrow in commits)
  4. see the diff-mode working beautifully
  5. press { or } to (globally) change diff-context size
  6. nothing happens, there seems to be no way to change diff-context size in diff mode.

Expected behavior

change diff-context size should work in diff mode too

Screenshots

If applicable, add screenshots to help explain your problem.

╭─Keybindings─────────────────╮
│  --- Global ---             │
│} Increase diff context size │
│{ Decrease diff context size │

Version info:

  • Run lazygit --version and paste the result here

    commit=4486c86271fc83e9ace700b1a472016d692513a5, build date=2026-01-12T19:47:02Z, build source=binaryRelease, version=0.58.1, os=windows, arch=amd64, git version=2.52.0.windows.1
    

Terminal info:

What terminal are you using, and which version? For some types of bugs this information can be relevant.

nil

Additional context

Add any other context about the problem here.

nil

Note

Please try updating to the latest version or manually building the latest master to see if the issue still occurs.


Add a 👍 reaction to issues you find important.

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