1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

Default to substring filtering, add option to go back to fuzzy filtering

By default we now search for substrings; you can search for multiple substrings
by separating them with spaces. Add a config option gui.filterMode that can be
set to 'fuzzy' to switch back to the previous behavior.
This commit is contained in:
Stefan Haller
2024-03-10 10:58:19 +01:00
parent a82e26d11e
commit a8797c7261
12 changed files with 164 additions and 52 deletions

View File

@@ -102,10 +102,10 @@ type IFilterableContext interface {
IListPanelState
ISearchHistoryContext
SetFilter(string)
SetFilter(string, bool)
GetFilter() string
ClearFilter()
ReApplyFilter()
ReApplyFilter(bool)
IsFiltering() bool
IsFilterableContext()
}