Skip to content

Commit

Permalink
Make command descriptions smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
sudormrfbin committed Jul 26, 2021
1 parent f4ad55a commit ad7e412
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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"
);
}

Expand Down

0 comments on commit ad7e412

Please sign in to comment.