jesseduffield / jesseduffield/lazygit

Option to render numstat as a prefix in the files panel

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

Description

When `showNumstatInFilesView` is enabled, the `+N -M` counts render after the filename. In narrow panels (tmux splits, side docks, etc.), the filename takes most of the width and the numstat falls off the right edge, so the feature stops being visible exactly when you want it.

Could there be an option to put numstat before the filename instead? Something like:

```yaml
gui:
numstatPosition: prefix # default: suffix
```

Prefix position would stay visible regardless of filename length, since the counts are short and fixed-width.

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.