From ad7e412a1185b9f7ca422d9e3f4545abf1e96ab0 Mon Sep 17 00:00:00 2001 From: Gokul Soumya Date: Mon, 26 Jul 2021 11:30:14 +0530 Subject: [PATCH] Make command descriptions smaller --- helix-term/src/commands.rs | 56 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index ffcc3b04d28b..64eedf4f037c 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -214,10 +214,10 @@ impl Command { append_mode, "Insert after selection (append)", command_mode, "Enter command mode", file_picker, "Open file picker", - code_action, "Open code action picker", + code_action, "Perform code action", buffer_picker, "Open buffer picker", - symbol_picker, "Open symbol picker (current document)", - last_picker, "Open previously used fuzzy picker", + symbol_picker, "Open symbol picker", + last_picker, "Open last picker", prepend_to_line, "Insert at start of line", append_to_line, "Insert at end of line", open_below, "Open new line below selection", @@ -228,22 +228,22 @@ impl Command { goto_definition, "Goto definition", goto_type_definition, "Goto type definition", goto_implementation, "Goto implementation", - goto_file_start, "Goto start of file", - goto_file_end, "Goto end of file", + goto_file_start, "Goto file start", + goto_file_end, "Goto file end", goto_reference, "Goto references", - goto_window_top, "Goto top of screen", - goto_window_middle, "Goto middle of screen", - goto_window_bottom, "Goto bottom of screen", + goto_window_top, "Goto window top", + goto_window_middle, "Goto window middle", + goto_window_bottom, "Goto window bottom", goto_last_accessed_file, "Goto last accessed file", - goto_first_diag, "Goto first diagnostic in document", - goto_last_diag, "Goto last diagnostic in document", + goto_first_diag, "Goto first diagnostic", + goto_last_diag, "Goto last diagnostic", goto_next_diag, "Goto next diagnostic", goto_prev_diag, "Goto previous diagnostic", - goto_line_start, "Goto start of line", - goto_line_end, "Goto end of line", + goto_line_start, "Goto line start", + goto_line_end, "Goto line end", // TODO: different description ? - goto_line_end_newline, "Goto end of line", - goto_first_nonwhitespace, "Goto first non-blank char in line", + goto_line_end_newline, "Goto line end", + goto_first_nonwhitespace, "Goto first non-blank in line", signature_help, "Show signature help", insert_tab, "Insert tab char", insert_newline, "Insert newline char", @@ -266,30 +266,30 @@ impl Command { format_selections, "Format selection", join_selections, "Join lines inside selection", keep_selections, "Keep selections matching regex", - keep_primary_selection, "Keep only primary selection", + keep_primary_selection, "Keep primary selection", completion, "Invoke completion popup", hover, "Show docs for item under cursor", toggle_comments, "Comment/uncomment selections", expand_selection, "Expand selection to parent syntax node", jump_forward, "Jump forward on jumplist", jump_backward, "Jump backward on jumplist", - rotate_view, "Switch to next window", + rotate_view, "Goto next window", hsplit, "Horizontal bottom split", vsplit, "Vertical right split", - wclose, "Close current window", + wclose, "Close window", select_register, "Select register", - align_view_top, "Align line to top of screen", - align_view_center, "Vertically center line", - align_view_bottom, "Align line to bottom of screen", - align_view_middle, "Align line to middle of screen", - scroll_up, "Scroll view upwards", - scroll_down, "Scroll view downwards", + align_view_middle, "Align view middle", + align_view_top, "Align view top", + align_view_center, "Align view center", + align_view_bottom, "Align view bottom", + scroll_up, "Scroll view up", + scroll_down, "Scroll view down", match_brackets, "Goto matching bracket", - surround_add, "Surround current selection", - surround_replace, "Replace surround char", - surround_delete, "Delete surround char", - select_textobject_around, "Select around textobject", - select_textobject_inner, "Select inside textobject" + surround_add, "Surround add", + surround_replace, "Surround replace", + surround_delete, "Surround delete", + select_textobject_around, "Select around object", + select_textobject_inner, "Select inside object" ); }