Change page keybinds in view mode
b which was assigned to page_up conflicts with align to bottom, so this commit replaces page up, down, etc keybinds to use normal mode keybinds (C-f, C-b, etc) in view mode too.
This commit is contained in:
parent
5654909135
commit
80036b8bd3
1 changed files with 8 additions and 8 deletions
|
@ -597,10 +597,10 @@ 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,
|
||||
"C-b" | "pageup" => page_up,
|
||||
"C-f" | "pagedown" => page_down,
|
||||
"C-u" => half_page_up,
|
||||
"C-d" => half_page_down,
|
||||
},
|
||||
"Z" => { "View" sticky=true
|
||||
"z" | "c" => align_view_center,
|
||||
|
@ -609,10 +609,10 @@ 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,
|
||||
"C-b" | "pageup" => page_up,
|
||||
"C-f" | "pagedown" => page_down,
|
||||
"C-u" => half_page_up,
|
||||
"C-d" => half_page_down,
|
||||
},
|
||||
|
||||
"\"" => select_register,
|
||||
|
|
Loading…
Reference in a new issue