add smartcase option for smart case sensitive search

Mentioned in #69.
This commit is contained in:
Gokcehan committed 2017-07-15 17:46:22 +03:00
1 parent ca7a3ccab4
commit cb072eba12
6 files changed
+18 -1

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ var gOpts struct {
ignorecase bool
preview bool
reverse bool
smartcase bool
wrapscan bool
scrolloff int
tabstop int
@@ -34,6 +35,7 @@ func init() {
gOpts.ignorecase = false
gOpts.preview = true
gOpts.reverse = false
gOpts.smartcase = false
gOpts.wrapscan = true
gOpts.scrolloff = 0
gOpts.tabstop = 8