add "jump-next" and "jump-prev" (#755)

This commit is contained in:
Christian Zangl authored and GitHub committed 2022-02-13 12:02:18 +03:00
1 parent 1718527e90
commit 375133e483
6 files changed
+87 -1

No files matched your search

+2
View File
@@ -142,6 +142,8 @@ func init() {
gOpts.keys["<home>"] = &callExpr{"top", nil, 1}
gOpts.keys["G"] = &callExpr{"bottom", nil, 1}
gOpts.keys["<end>"] = &callExpr{"bottom", nil, 1}
gOpts.keys["["] = &callExpr{"jump-prev", nil, 1}
gOpts.keys["]"] = &callExpr{"jump-next", nil, 1}
gOpts.keys["<space>"] = &listExpr{[]expr{&callExpr{"toggle", nil, 1}, &callExpr{"down", nil, 1}}, 1}
gOpts.keys["v"] = &callExpr{"invert", nil, 1}
gOpts.keys["u"] = &callExpr{"unselect", nil, 1}