Skip to content

delta --navigate does not work #5136

@yavorski

Description

@yavorski

Describe the bug

delta --navigate is not working in [0] Unstaged changes view.

Option info:

delta --help
  --navigate
    Activate diff navigation.
    Use n to jump forwards and N to jump backwards.

To Reproduce

Steps to reproduce the behavior:

  1. Setup delta as pager

Example config:

git:
  pagers:
    - pager: delta --paging=never --navigate --no-gitconfig
    - pager: delta --paging=never --navigate --side-by-side --no-gitconfig
  1. Open lazygit
  2. Focus [0] Unstaged changes view
  3. Press n or N

Expected behavior

n and N should quickly navigate between next/prev diff/hunk/change in the view.

Version info:

  • git --version - git version 2.52.0

  • lazygit --version - commit=v0.57.0, build date=2025-12-06T13:10:14Z, build source=binaryRelease, version=0.57.0, os=linux, arch=amd64, git version=2.52.0

Additional info

I have tried all others navigation keys from config, but didn't find hunk navigation in this view?
It only works if you hit enter and entering the hunking mode for a specific file ( but this is not delta view).

Image

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