diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index 47182a04b..3031c1588 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -27,13 +27,21 @@ pub fn default() -> HashMap { "end" => goto_line_end, "A-w" => { "Alter Window" - "A-w"|"A-left" => shrink_buffer_width, + "A-h"|"A-left" => shrink_buffer_width, "A-l"|"A-right" => grow_buffer_width, "A-j"|"A-down" => shrink_buffer_height, "A-k"|"A-up" => grow_buffer_height, "A-f" => buffer_expand_mode, }, + "A-W" => { "Alter Window" sticky=true + "h"|"left" => shrink_buffer_width, + "l"|"right" => grow_buffer_width, + "j"|"down" => shrink_buffer_height, + "k"|"up" => grow_buffer_height, + "f" => buffer_expand_mode, + }, + "w" => move_next_word_start, "b" => move_prev_word_start, "e" => move_next_word_end,