fix(table): correct keybinding for page down (#220)

Co-authored-by: Bastian Winkler <buz@serious.im>
This commit is contained in:
buz 2022-08-21 15:56:58 +02:00 committed by GitHub
parent 1c26128786
commit 776062e30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,11 +59,11 @@ func DefaultKeyMap() KeyMap {
),
PageUp: key.NewBinding(
key.WithKeys("b", "pgup"),
key.WithHelp("b", "page up"),
key.WithHelp("b/pgup", "page up"),
),
PageDown: key.NewBinding(
key.WithKeys("f", "pgup", spacebar),
key.WithHelp("f", "page down"),
key.WithKeys("f", "pgdown", spacebar),
key.WithHelp("f/pgdn", "page down"),
),
HalfPageUp: key.NewBinding(
key.WithKeys("u", "ctrl+u"),