Skip to content

Commit

Permalink
dont remove backspace and space mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDickie committed Aug 20, 2023
1 parent 3d4038e commit 1fe59ea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions helix-term/src/keymap/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"j" | "down" => scroll_down,
"C-b" | "pageup" => page_up,
"C-f" | "pagedown" => page_down,
"C-u" => page_cursor_half_up,
"C-d" => page_cursor_half_down,
"C-u" | "backspace" => page_cursor_half_up,
"C-d" | "space" => page_cursor_half_down,

"/" => search,
"?" => rsearch,
Expand All @@ -304,8 +304,9 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"j" | "down" => scroll_down,
"C-b" | "pageup" => page_up,
"C-f" | "pagedown" => page_down,
"C-u" => page_cursor_half_up,
"C-d" => page_cursor_half_down,
"C-u" | "backspace" => page_cursor_half_up,
"C-d" | "space" => page_cursor_half_down,

"/" => search,
"?" => rsearch,
"n" => search_next,
Expand Down

0 comments on commit 1fe59ea

Please sign in to comment.