add globsearch option for wildcard searching

Mentioned in #69.
This commit is contained in:
Gokcehan committed 2017-07-15 17:06:18 +03:00
1 parent fe05105c88
commit 9e69ce94ca
6 files changed
+128 -69

No files matched your search

+21 -19
View File
@@ -3,30 +3,32 @@ package main
import "time"
var gOpts struct {
dircounts bool
dirfirst bool
hidden bool
preview bool
reverse bool
wrapscan bool
scrolloff int
tabstop int
filesep string
ifs string
previewer string
shell string
sortby string
timefmt string
ratios []int
info []string
keys map[string]expr
cmdkeys map[string]expr
cmds map[string]expr
dircounts bool
dirfirst bool
globsearch bool
hidden bool
preview bool
reverse bool
wrapscan bool
scrolloff int
tabstop int
filesep string
ifs string
previewer string
shell string
sortby string
timefmt string
ratios []int
info []string
keys map[string]expr
cmdkeys map[string]expr
cmds map[string]expr
}
func init() {
gOpts.dircounts = false
gOpts.dirfirst = true
gOpts.globsearch = false
gOpts.hidden = false
gOpts.preview = true
gOpts.reverse = false