diff options
author | Gokul Soumya | 2021-09-10 14:14:23 +0000 |
---|---|---|
committer | GitHub | 2021-09-10 14:14:23 +0000 |
commit | 94abc52b3b0929f399cea14e1efcf2c1d0a31ad8 (patch) | |
tree | a8d849b719a6f670c32c390070f3142e1b628e65 /helix-term | |
parent | 0b1bc566e4e3cfa88e23133fb018c998f2052c52 (diff) |
feat: Sticky view mode with Z (#719)
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/keymap.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 1b9d87b5..f38c8a40 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -563,6 +563,22 @@ impl Default for Keymaps { "m" => align_view_middle, "k" => scroll_up, "j" => scroll_down, + "b" => page_up, + "f" => page_down, + "u" => half_page_up, + "d" => half_page_down, + }, + "Z" => { "View" sticky=true + "z" | "c" => align_view_center, + "t" => align_view_top, + "b" => align_view_bottom, + "m" => align_view_middle, + "k" => scroll_up, + "j" => scroll_down, + "b" => page_up, + "f" => page_down, + "u" => half_page_up, + "d" => half_page_down, }, "\"" => select_register, |