add 'findlen' option to control number of chars

Related #68
This commit is contained in:
Gokcehan committed 2018-08-22 20:57:47 +03:00
1 parent 011cca76d1
commit 170e39b95e
6 files changed
+40 -15

No files matched your search

+2
View File
@@ -32,6 +32,7 @@ var gOpts struct {
preview bool
smartcase bool
wrapscan bool
findlen int
period int
scrolloff int
tabstop int
@@ -58,6 +59,7 @@ func init() {
gOpts.preview = true
gOpts.smartcase = true
gOpts.wrapscan = true
gOpts.findlen = 1
gOpts.period = 0
gOpts.scrolloff = 0
gOpts.tabstop = 8