Added globfilter command (#1650)

* Added globfilter command

* Kept the alphabetical order and applied other sugestions

* Used pandoc to update docs
This commit is contained in:
Catalin Ancutei authored and GitHub committed 2024-04-07 15:36:17 +02:00
1 parent 5b108037a3
commit f507b618c9
7 files changed
+30 -10

No files matched your search

+5
View File
@@ -155,6 +155,7 @@ The following options can be used to customize the behavior of lf:
errorfmt string (default "\033[7;31;47m")
filesep string (default "\n")
findlen int (default 1)
globfilter bool (default false)
globsearch bool (default false)
hidden bool (default false)
hiddenfiles []string (default '.*')
@@ -749,6 +750,10 @@ File separator used in environment variables `fs` and `fx`.
Number of characters prompted for the find command.
When this value is set to 0, find command prompts until there is only a single match left.
## globfilter (bool) (default false)
Patterns are treated as globs for the filter command, see `globsearch` for more details.
## globsearch (bool) (default false)
When this option is enabled, search command patterns are considered as globs, otherwise, they are literals.