@@ -402,8 +402,8 @@ impl MappableCommand {
402 select_textobject_inner, "Select inside object",
402 select_textobject_inner, "Select inside object",
403 goto_next_function, "Goto next function",
403 goto_next_function, "Goto next function",
404 goto_prev_function, "Goto previous function",
404 goto_prev_function, "Goto previous function",
405− goto_next_class, "Goto next class",
405+ goto_next_class, "Goto next type definition",
406− goto_prev_class, "Goto previous class",
406+ goto_prev_class, "Goto previous type definition",
407 goto_next_parameter, "Goto next parameter",
407 goto_next_parameter, "Goto next parameter",
408 goto_prev_parameter, "Goto previous parameter",
408 goto_prev_parameter, "Goto previous parameter",
409 goto_next_comment, "Goto next comment",
409 goto_next_comment, "Goto next comment",
@@ -4520,11 +4520,11 @@ fn select_textobject(cx: &mut Context, objtype: textobject::TextObject) {
4520 match ch {
4520 match ch {
4521 'w' => textobject::textobject_word(text, range, objtype, count, false),
4521 'w' => textobject::textobject_word(text, range, objtype, count, false),
4522 'W' => textobject::textobject_word(text, range, objtype, count, true),
4522 'W' => textobject::textobject_word(text, range, objtype, count, true),
4523− 'c' => textobject_treesitter("class", range),
4523+ 't' => textobject_treesitter("class", range),
4524 'f' => textobject_treesitter("function", range),
4524 'f' => textobject_treesitter("function", range),
4525 'a' => textobject_treesitter("parameter", range),
4525 'a' => textobject_treesitter("parameter", range),
4526− 'o' => textobject_treesitter("comment", range),
4526+ 'c' => textobject_treesitter("comment", range),
4527− 't' => textobject_treesitter("test", range),
4527+ 'T' => textobject_treesitter("test", range),
4528 'p' => textobject::textobject_paragraph(text, range, objtype, count),
4528 'p' => textobject::textobject_paragraph(text, range, objtype, count),
4529 'm' => textobject::textobject_pair_surround_closest(
4529 'm' => textobject::textobject_pair_surround_closest(
4530 text, range, objtype, count,
4530 text, range, objtype, count,
@@ -4552,11 +4552,11 @@ fn select_textobject(cx: &mut Context, objtype: textobject::TextObject) {
4552 ("w", "Word"),
4552 ("w", "Word"),
4553 ("W", "WORD"),
4553 ("W", "WORD"),
4554 ("p", "Paragraph"),
4554 ("p", "Paragraph"),
4555− ("c", "Class (tree-sitter)"),
4555+ ("t", "Type definition (tree-sitter)"),
4556 ("f", "Function (tree-sitter)"),
4556 ("f", "Function (tree-sitter)"),
4557 ("a", "Argument/parameter (tree-sitter)"),
4557 ("a", "Argument/parameter (tree-sitter)"),
4558− ("o", "Comment (tree-sitter)"),
4558+ ("c", "Comment (tree-sitter)"),
4559− ("t", "Test (tree-sitter)"),
4559+ ("T", "Test (tree-sitter)"),
4560 ("m", "Closest surrounding pair to cursor"),
4560 ("m", "Closest surrounding pair to cursor"),
4561 (" ", "... or any character acting as a pair"),
4561 (" ", "... or any character acting as a pair"),