add wrapscan option for cyclic search

Mentioned in #57.
This commit is contained in:
Gokcehan committed 2017-03-16 16:22:42 +03:00
1 parent 784d80ca30
commit 8bc975a858
6 files changed
+25 -8

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ var gOpts struct {
hidden bool
preview bool
reverse bool
wrapscan bool
scrolloff int
tabstop int
filesep string
@@ -27,6 +28,7 @@ func init() {
gOpts.hidden = false
gOpts.preview = true
gOpts.reverse = false
gOpts.wrapscan = true
gOpts.scrolloff = 0
gOpts.tabstop = 8
gOpts.filesep = ":"