add scrollup scrolldown builtin cmd (#764)

* add scrollup scrolldown builtin cmd

Scrollup/down move window pane without moving current cursor position.
Default keybinding would be <c-y> for scrollup and <c-e> for scrolldown
just like in vim.

* limit scrolldown when reached bottom

scrolodown will not allow empty space

Fix typo
This commit is contained in:
sbinnee authored and GitHub committed 2022-02-27 12:37:27 +03:00
1 parent 7005815671
commit b4637f91aa
7 files changed
+84

No files matched your search

+2
View File
@@ -17,9 +17,11 @@ var (
"up",
"half-up",
"page-up",
"scrollup",
"down",
"half-down",
"page-down",
"scrolldown",
"updir",
"open",
"quit",