diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index 118764d97585..63ce4060fc3a 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -89,14 +89,16 @@ pub fn default() -> HashMap { "X" => extend_to_line_bounds, "A-x" => shrink_to_line_bounds, - "m" => { "Match" + "m" => select_textobject_inner, + "M" => select_textobject_around, + + "#" => { "Brackets" "m" => match_brackets, "s" => surround_add, "r" => surround_replace, "d" => surround_delete, - "a" => select_textobject_around, - "i" => select_textobject_inner, }, + "[" => { "Left bracket" "d" => goto_prev_diag, "D" => goto_first_diag,