diff options
author | Blaž Hrastnik | 2021-06-02 04:19:21 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-02 04:20:36 +0000 |
commit | cbb3ebafdc6f2473264ad7cde99ddfff5a80a832 (patch) | |
tree | e64ec88a34cefcca59635204c4340afdc950d9e2 /helix-term/src/keymap.rs | |
parent | 0851110d10d19f34deb7945d19576e20d7a9d29b (diff) |
Support ctrl-f and ctrl-b to page up/down, fixes #41
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r-- | helix-term/src/keymap.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 044d97eb..fc7bb86e 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -240,10 +240,12 @@ pub fn default() -> Keymaps { code: KeyCode::PageUp, modifiers: KeyModifiers::NONE } => commands::page_up, + ctrl!('b') => commands::page_up, KeyEvent { code: KeyCode::PageDown, modifiers: KeyModifiers::NONE } => commands::page_down, + ctrl!('f') => commands::page_down, ctrl!('u') => commands::half_page_up, ctrl!('d') => commands::half_page_down, |