@ -402,8 +402,8 @@ impl MappableCommand {
select_textobject_inner , "Select inside object" ,
select_textobject_inner , "Select inside object" ,
goto_next_function , "Goto next function" ,
goto_next_function , "Goto next function" ,
goto_prev_function , "Goto previous function" ,
goto_prev_function , "Goto previous function" ,
goto_next_class , "Goto next class ",
goto_next_class , "Goto next type definition ",
goto_prev_class , "Goto previous class ",
goto_prev_class , "Goto previous type definition ",
goto_next_parameter , "Goto next parameter" ,
goto_next_parameter , "Goto next parameter" ,
goto_prev_parameter , "Goto previous parameter" ,
goto_prev_parameter , "Goto previous parameter" ,
goto_next_comment , "Goto next comment" ,
goto_next_comment , "Goto next comment" ,
@ -4520,11 +4520,11 @@ fn select_textobject(cx: &mut Context, objtype: textobject::TextObject) {
match ch {
match ch {
'w' = > textobject ::textobject_word ( text , range , objtype , count , false ) ,
'w' = > textobject ::textobject_word ( text , range , objtype , count , false ) ,
'W' = > textobject ::textobject_word ( text , range , objtype , count , true ) ,
'W' = > textobject ::textobject_word ( text , range , objtype , count , true ) ,
' c ' = > textobject_treesitter ( "class" , range ) ,
' t ' = > textobject_treesitter ( "class" , range ) ,
'f' = > textobject_treesitter ( "function" , range ) ,
'f' = > textobject_treesitter ( "function" , range ) ,
'a' = > textobject_treesitter ( "parameter" , range ) ,
'a' = > textobject_treesitter ( "parameter" , range ) ,
' o ' = > textobject_treesitter ( "comment" , range ) ,
' c ' = > textobject_treesitter ( "comment" , range ) ,
' t ' = > textobject_treesitter ( "test" , range ) ,
' T ' = > textobject_treesitter ( "test" , range ) ,
'p' = > textobject ::textobject_paragraph ( text , range , objtype , count ) ,
'p' = > textobject ::textobject_paragraph ( text , range , objtype , count ) ,
'm' = > textobject ::textobject_pair_surround_closest (
'm' = > textobject ::textobject_pair_surround_closest (
text , range , objtype , count ,
text , range , objtype , count ,
@ -4552,11 +4552,11 @@ fn select_textobject(cx: &mut Context, objtype: textobject::TextObject) {
( "w" , "Word" ) ,
( "w" , "Word" ) ,
( "W" , "WORD" ) ,
( "W" , "WORD" ) ,
( "p" , "Paragraph" ) ,
( "p" , "Paragraph" ) ,
( " c", "Class (tree-sitter)") ,
( " t", "Type definition (tree-sitter)") ,
( "f" , "Function (tree-sitter)" ) ,
( "f" , "Function (tree-sitter)" ) ,
( "a" , "Argument/parameter (tree-sitter)" ) ,
( "a" , "Argument/parameter (tree-sitter)" ) ,
( " o ", "Comment (tree-sitter)" ) ,
( " c ", "Comment (tree-sitter)" ) ,
( " t ", "Test (tree-sitter)" ) ,
( " T ", "Test (tree-sitter)" ) ,
( "m" , "Closest surrounding pair to cursor" ) ,
( "m" , "Closest surrounding pair to cursor" ) ,
( " " , "... or any character acting as a pair" ) ,
( " " , "... or any character acting as a pair" ) ,
] ;
] ;