Add Wrap Scroll functionality. Fixes #126 (#166)

This commit is contained in:
David Pedersen authored and gokcehan committed 2019-05-12 17:21:45 +03:00
1 parent 13fe1931cd
commit e815adc6a6
7 files changed
+20

No files matched your search

+6
View File
@@ -143,6 +143,12 @@ func (e *setExpr) eval(app *app, args []string) {
gOpts.wrapscan = false
case "wrapscan!":
gOpts.wrapscan = !gOpts.wrapscan
case "wrapscroll":
gOpts.wrapscroll = true
case "nowrapscroll":
gOpts.wrapscroll = false
case "wrapscroll!":
gOpts.wrapscroll = !gOpts.wrapscroll
case "number":
gOpts.number = true
case "nonumber":