add an option to filter file content for preview

Mentioned in #5.
This commit is contained in:
Gokcehan committed 2016-08-28 15:04:57 +03:00
1 parent e86b8b34bd
commit c19d3450a2
4 files changed
+17 -3

No files matched your search

+1 -1
View File
@@ -6,6 +6,7 @@ type Opts struct {
scrolloff int
tabstop int
ifs string
previewer string
shell string
showinfo string
sortby string
@@ -21,7 +22,6 @@ func init() {
gOpts.preview = true
gOpts.scrolloff = 0
gOpts.tabstop = 8
gOpts.ifs = ""
gOpts.shell = envShell
gOpts.showinfo = "none"
gOpts.sortby = "name"