Added filter command (#667)
* added first version of interactive filter * small fix when loading new file * don't reset filter when directory is reloaded automatically * reapply filter when options for searching change * current filter or arguments now prefilled in the prompt * empty filter can now be supplied * added new setfilter command for use in scripts * added incfilter option * added very basic documentation * added filter indication in statusbar * added option to display filter to prompt
This commit is contained in:
1 parent
6c46b217af
commit
ff0933ca03
8 files changed
+209
-4
No files matched your search
@@ -38,6 +38,7 @@ var gOpts struct {
|
||||
icons bool
|
||||
ignorecase bool
|
||||
ignoredia bool
|
||||
incfilter bool
|
||||
incsearch bool
|
||||
mouse bool
|
||||
number bool
|
||||
@@ -83,6 +84,7 @@ func init() {
|
||||
gOpts.icons = false
|
||||
gOpts.ignorecase = true
|
||||
gOpts.ignoredia = true
|
||||
gOpts.incfilter = false
|
||||
gOpts.incsearch = false
|
||||
gOpts.mouse = false
|
||||
gOpts.number = false
|
||||
|
||||
Reference in new issue
Block a user