Add VIMs hi/mid/lo-screen commands (#824)

* add hi/mid/lo-screen commands and default keybindings

* doc
This commit is contained in:
Christian Zangl authored and GitHub committed 2022-05-08 13:58:56 +03:00
1 parent 50f11ad3de
commit 01fe12b2ce
6 files changed
+103

No files matched your search

+3
View File
@@ -146,6 +146,9 @@ 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["H"] = &callExpr{"hi-screen", nil, 1}
gOpts.keys["M"] = &callExpr{"mid-screen", nil, 1}
gOpts.keys["L"] = &callExpr{"lo-screen", 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}