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 8c6d543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 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 @@ -306,6 +306,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"C-f" | "pagedown" => page_down,
"C-u" => page_cursor_half_up,
"C-d" => page_cursor_half_down,

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

0 comments on commit 8c6d543

Please sign in to comment.