implement search/search-back and search-next/prev

Closes #38.
This commit is contained in:
Gokcehan committed 2016-12-24 15:57:57 +03:00
1 parent af113e71ef
commit f7e778591a
6 files changed
+37 -4

No files matched your search

+2
View File
@@ -54,6 +54,8 @@ func init() {
gOpts.keys["&"] = &callExpr{"read-shell-async", nil}
gOpts.keys["/"] = &callExpr{"search", nil}
gOpts.keys["?"] = &callExpr{"search-back", nil}
gOpts.keys["n"] = &callExpr{"search-next", nil}
gOpts.keys["N"] = &callExpr{"search-prev", nil}
gOpts.keys["<space>"] = &callExpr{"toggle", nil}
gOpts.keys["v"] = &callExpr{"invert", nil}
gOpts.keys["y"] = &callExpr{"yank", nil}