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

+6
View File
@@ -62,6 +62,12 @@ func (e *setExpr) eval(app *app, args []string) {
case "reverse!":
gOpts.reverse = !gOpts.reverse
app.nav.renew(app.nav.height)
case "smartcase":
gOpts.smartcase = true
case "nosmartcase":
gOpts.smartcase = false
case "smartcase!":
gOpts.smartcase = !gOpts.smartcase
case "wrapscan":
gOpts.wrapscan = true
case "nowrapscan":