jesseduffield / jesseduffield/lazygit

`delta --navigate` does not work

Open
#5,136 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

### 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:

```yaml
git:
pagers:
- pager: delta --paging=never --navigate --no-gitconfig
- pager: delta --paging=never --navigate --side-by-side --no-gitconfig
```

2. Open `lazygit`
3. Focus `[0] Unstaged changes` view
4. 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.