1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Add new filter to only show tracked files in Files panel

This allows to hide all non-tracked files on large repos
This commit is contained in:
Yaroslav Veremenko
2024-11-01 16:21:09 -06:00
committed by Jesse Duffield
parent b0a766cc95
commit fdeaf9cea0
4 changed files with 25 additions and 0 deletions

View File

@ -695,6 +695,13 @@ func (self *FilesController) handleStatusFilterPressed() error {
},
Key: 'u',
},
{
Label: self.c.Tr.FilterTrackedFiles,
OnPress: func() error {
return self.setStatusFiltering(filetree.DisplayTracked)
},
Key: 't',
},
{
Label: self.c.Tr.ResetFilter,
OnPress: func() error {