fix toggle behaviour (#352) (#386)

This commit is contained in:
Ivan Podmazov authored and GitHub committed 2020-06-17 06:17:30 +03:00
1 parent 5d1136abfe
commit cbb559346d
2 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ 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["<space>"] = &callExpr{"toggle", nil, 1}
gOpts.keys["<space>"] = &listExpr{[]expr{&callExpr{"toggle", nil, 1}, &callExpr{"down", nil, 1}}}
gOpts.keys["v"] = &callExpr{"invert", nil, 1}
gOpts.keys["u"] = &callExpr{"unselect", nil, 1}
gOpts.keys["y"] = &callExpr{"copy", nil, 1}