add 'anchorfind' option to control find start

Related #68
This commit is contained in:
Gokcehan committed 2018-08-23 01:37:07 +03:00
1 parent a59a5aa712
commit 4420e41c76
7 files changed
+18 -1

No files matched your search

+6
View File
@@ -14,6 +14,12 @@ import (
func (e *setExpr) eval(app *app, args []string) {
switch e.opt {
case "anchorfind":
gOpts.anchorfind = true
case "noanchorfind":
gOpts.anchorfind = false
case "anchorfind!":
gOpts.anchorfind = !gOpts.anchorfind
case "dircounts":
gOpts.dircounts = true
case "nodircounts":