jesseduffield / jesseduffield/lazygit

Can't use custom pager when focused on Changes

Open
#2,563 2 comments 4 reactions 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**
I follow the [Custom_Pagers - delta](https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md#delta) config and change pager to delta, it work well when focusing on `commits` or `files` tab, but cannot work when focusing on `changes` tab.

**To Reproduce**
Steps to reproduce the behavior:

1. config delta and lazygit delta config
2. do some changes in a repo
3. open lazygit and focus on `Files` tab
4. enter to focus changes on one file (focus on `Changes` tab), custom pagers cannot work

**Expected behavior**
When focusing on `Changes` tab, custom pager still works

**Screenshots**
image
image

**Version info:**
_Run `lazygit --version` and paste the result here_
_Run `git --version` and paste the result here_

commit=, build date=, build source=homebrew, version=0.37.0, os=darwin, arch=arm64, git version=2.40.0

**Additional context**
Add any other context about the problem here.

**Note:** please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.

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.