add 'period' option for periodic refresh

Related #73
This commit is contained in:
Gokcehan committed 2018-06-09 22:02:09 +03:00
1 parent e025c68130
commit 723357fe3d
6 files changed
+30

No files matched your search

+2
View File
@@ -32,6 +32,7 @@ var gOpts struct {
preview bool
smartcase bool
wrapscan bool
period int
scrolloff int
tabstop int
filesep string
@@ -56,6 +57,7 @@ func init() {
gOpts.preview = true
gOpts.smartcase = true
gOpts.wrapscan = true
gOpts.period = 0
gOpts.scrolloff = 0
gOpts.tabstop = 8
gOpts.filesep = "\n"