jesseduffield / jesseduffield/lazygit

Make the files view filtering setting persistently configurable

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

Description

### Is your feature request related to a problem? Please describe.
I almost always prefer to show only tracked files in the files view. However, this cannot be configured persistently in Config.yml, only at runtime.

### Describe the solution you'd like
Add a setting to Config.yml so that lazygit can start up with my preferred filter.

### Describe alternatives you've considered
The only alternative is just pressing `C-b t` every time I start up lazygit, as far as I can tell.

### Additional context
The functionality was added in #4226 and #4230.

I have not submitted this as a PR as per the contributing instructions. However, I do have this [implemented and working](https://github.com/jesseduffield/lazygit/compare/master...durka:lazygit:feat/files-view-filtering-config) (including hot-reloading, but I need a bit of advice on the codebase to make that cleaner).

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.