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:
committed by
Jesse Duffield
parent
b0a766cc95
commit
fdeaf9cea0
@ -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 {
|
||||
|
Reference in New Issue
Block a user