cargo xtask docgen

This commit is contained in:
David Crespo 2024-10-27 15:38:03 -05:00
parent e0234fb434
commit 973f7fcff1

View File

@ -5,13 +5,13 @@
| `move_char_right` | Move right | normal: `` l ``, `` <right> ``, insert: `` <right> `` |
| `move_line_up` | Move up | normal: `` gk `` |
| `move_line_down` | Move down | normal: `` gj `` |
| `move_visual_line_up` | Move up | normal: `` <up> ``, `` k ``, insert: `` <up> `` |
| `move_visual_line_up` | Move up | normal: `` k ``, `` <up> ``, insert: `` <up> `` |
| `move_visual_line_down` | Move down | normal: `` <down> ``, `` j ``, insert: `` <down> `` |
| `extend_char_left` | Extend left | select: `` <left> ``, `` h `` |
| `extend_char_right` | Extend right | select: `` l ``, `` <right> `` |
| `extend_line_up` | Extend up | select: `` gk `` |
| `extend_line_down` | Extend down | select: `` gj `` |
| `extend_visual_line_up` | Extend up | select: `` <up> ``, `` k `` |
| `extend_visual_line_up` | Extend up | select: `` k ``, `` <up> `` |
| `extend_visual_line_down` | Extend down | select: `` <down> ``, `` j `` |
| `copy_selection_on_next_line` | Copy selection on next line | normal: `` C ``, select: `` C `` |
| `copy_selection_on_prev_line` | Copy selection on previous line | normal: `` <A-C> ``, select: `` <A-C> `` |
@ -56,14 +56,14 @@
| `switch_case` | Switch (toggle) case | normal: `` ~ ``, select: `` ~ `` |
| `switch_to_uppercase` | Switch to uppercase | normal: `` <A-`> ``, select: `` <A-`> `` |
| `switch_to_lowercase` | Switch to lowercase | normal: `` ` ``, select: `` ` `` |
| `page_up` | Move page up | normal: `` z<C-b> ``, `` z<pageup> ``, `` <pageup> ``, `` Z<pageup> ``, `` Z<C-b> ``, `` <C-b> ``, select: `` z<C-b> ``, `` z<pageup> ``, `` <pageup> ``, `` Z<pageup> ``, `` Z<C-b> ``, `` <C-b> ``, insert: `` <pageup> `` |
| `page_down` | Move page down | normal: `` z<pagedown> ``, `` z<C-f> ``, `` <C-f> ``, `` Z<C-f> ``, `` Z<pagedown> ``, `` <pagedown> ``, select: `` z<pagedown> ``, `` z<C-f> ``, `` <C-f> ``, `` Z<C-f> ``, `` Z<pagedown> ``, `` <pagedown> ``, insert: `` <pagedown> `` |
| `page_up` | Move page up | normal: `` <pageup> ``, `` z<C-b> ``, `` z<pageup> ``, `` Z<pageup> ``, `` Z<C-b> ``, `` <C-b> ``, select: `` <pageup> ``, `` z<C-b> ``, `` z<pageup> ``, `` Z<pageup> ``, `` Z<C-b> ``, `` <C-b> ``, insert: `` <pageup> `` |
| `page_down` | Move page down | normal: `` z<C-f> ``, `` z<pagedown> ``, `` Z<C-f> ``, `` Z<pagedown> ``, `` <pagedown> ``, `` <C-f> ``, select: `` z<C-f> ``, `` z<pagedown> ``, `` Z<C-f> ``, `` Z<pagedown> ``, `` <pagedown> ``, `` <C-f> ``, insert: `` <pagedown> `` |
| `half_page_up` | Move half page up | |
| `half_page_down` | Move half page down | |
| `page_cursor_up` | Move page and cursor up | |
| `page_cursor_down` | Move page and cursor down | |
| `page_cursor_half_up` | Move page and cursor half up | normal: `` z<C-u> ``, `` z<backspace> ``, `` <C-u> ``, `` Z<C-u> ``, `` Z<backspace> ``, select: `` z<C-u> ``, `` z<backspace> ``, `` <C-u> ``, `` Z<C-u> ``, `` Z<backspace> `` |
| `page_cursor_half_down` | Move page and cursor half down | normal: `` z<C-d> ``, `` z<space> ``, `` Z<C-d> ``, `` Z<space> ``, `` <C-d> ``, select: `` z<C-d> ``, `` z<space> ``, `` Z<C-d> ``, `` Z<space> ``, `` <C-d> `` |
| `page_cursor_half_up` | Move page and cursor half up | normal: `` z<backspace> ``, `` z<C-u> ``, `` Z<backspace> ``, `` Z<C-u> ``, `` <C-u> ``, select: `` z<backspace> ``, `` z<C-u> ``, `` Z<backspace> ``, `` Z<C-u> ``, `` <C-u> `` |
| `page_cursor_half_down` | Move page and cursor half down | normal: `` z<space> ``, `` z<C-d> ``, `` Z<space> ``, `` Z<C-d> ``, `` <C-d> ``, select: `` z<space> ``, `` z<C-d> ``, `` Z<space> ``, `` Z<C-d> ``, `` <C-d> `` |
| `select_all` | Select whole document | normal: `` % ``, select: `` % `` |
| `select_regex` | Select all regex matches inside selections | normal: `` s ``, select: `` s `` |
| `split_selection` | Split selections on regex matches | normal: `` S ``, select: `` S `` |
@ -71,9 +71,9 @@
| `merge_selections` | Merge selections | normal: `` <A-minus> ``, select: `` <A-minus> `` |
| `merge_consecutive_selections` | Merge consecutive selections | normal: `` <A-_> ``, select: `` <A-_> `` |
| `search` | Search for regex pattern | normal: `` z/ ``, `` Z/ ``, `` / ``, select: `` z/ ``, `` Z/ ``, `` / `` |
| `rsearch` | Reverse search for regex pattern | normal: `` z? ``, `` ? ``, `` Z? ``, select: `` z? ``, `` ? ``, `` Z? `` |
| `search_next` | Select next search match | normal: `` zn ``, `` n ``, `` Zn ``, select: `` zn ``, `` Zn `` |
| `search_prev` | Select previous search match | normal: `` zN ``, `` ZN ``, `` N ``, select: `` zN ``, `` ZN `` |
| `rsearch` | Reverse search for regex pattern | normal: `` z? ``, `` Z? ``, `` ? ``, select: `` z? ``, `` Z? ``, `` ? `` |
| `search_next` | Select next search match | normal: `` zn ``, `` Zn ``, `` n ``, select: `` zn ``, `` Zn `` |
| `search_prev` | Select previous search match | normal: `` zN ``, `` N ``, `` ZN ``, select: `` zN ``, `` ZN `` |
| `extend_search_next` | Add next search match to selection | select: `` n `` |
| `extend_search_prev` | Add previous search match to selection | select: `` N `` |
| `search_selection` | Use current selection as search pattern | normal: `` * ``, select: `` * `` |
@ -125,8 +125,8 @@
| `goto_file_start` | Goto line number <n> else file start | normal: `` gg ``, select: `` gg `` |
| `goto_file_end` | Goto file end | |
| `goto_file` | Goto files/URLs in selections | normal: `` gf ``, select: `` gf `` |
| `goto_file_hsplit` | Goto files in selections (hsplit) | normal: `` <space>wf ``, `` <C-w>f ``, select: `` <space>wf ``, `` <C-w>f `` |
| `goto_file_vsplit` | Goto files in selections (vsplit) | normal: `` <space>wF ``, `` <C-w>F ``, select: `` <space>wF ``, `` <C-w>F `` |
| `goto_file_hsplit` | Goto files in selections (hsplit) | normal: `` <C-w>f ``, `` <space>wf ``, select: `` <C-w>f ``, `` <space>wf `` |
| `goto_file_vsplit` | Goto files in selections (vsplit) | normal: `` <C-w>F ``, `` <space>wF ``, select: `` <C-w>F ``, `` <space>wF `` |
| `goto_reference` | Goto references | normal: `` gr ``, select: `` gr `` |
| `goto_window_top` | Goto window top | normal: `` gt ``, select: `` gt `` |
| `goto_window_center` | Goto window center | normal: `` gc ``, select: `` gc `` |
@ -158,8 +158,8 @@
| `signature_help` | Show signature help | |
| `smart_tab` | Insert tab if all cursors have all whitespace to their left; otherwise, run a separate command. | insert: `` <tab> `` |
| `insert_tab` | Insert tab char | insert: `` <S-tab> `` |
| `insert_newline` | Insert newline char | insert: `` <C-j> ``, `` <ret> `` |
| `delete_char_backward` | Delete previous char | insert: `` <S-backspace> ``, `` <backspace> ``, `` <C-h> `` |
| `insert_newline` | Insert newline char | insert: `` <ret> ``, `` <C-j> `` |
| `delete_char_backward` | Delete previous char | insert: `` <backspace> ``, `` <C-h> ``, `` <S-backspace> `` |
| `delete_char_forward` | Delete next char | insert: `` <del> ``, `` <C-d> `` |
| `delete_word_backward` | Delete previous word | insert: `` <C-w> ``, `` <A-backspace> `` |
| `delete_word_forward` | Delete next word | insert: `` <A-d> ``, `` <A-del> `` |
@ -199,7 +199,7 @@
| `remove_primary_selection` | Remove primary selection | normal: `` <A-,> ``, select: `` <A-,> `` |
| `completion` | Invoke completion popup | insert: `` <C-x> `` |
| `hover` | Show docs for item under cursor | normal: `` <space>k ``, select: `` <space>k `` |
| `toggle_comments` | Comment/uncomment selections | normal: `` <space>c ``, `` <C-c> ``, select: `` <space>c ``, `` <C-c> `` |
| `toggle_comments` | Comment/uncomment selections | normal: `` <C-c> ``, `` <space>c ``, select: `` <C-c> ``, `` <space>c `` |
| `toggle_line_comments` | Line comment/uncomment selections | normal: `` <space><A-c> ``, select: `` <space><A-c> `` |
| `toggle_block_comments` | Block comment/uncomment selections | normal: `` <space>C ``, select: `` <space>C `` |
| `rotate_selections_forward` | Rotate selections forward | normal: `` ) ``, select: `` ) `` |
@ -209,38 +209,38 @@
| `reverse_selection_contents` | Reverse selections contents | |
| `expand_selection` | Expand selection to parent syntax node | normal: `` <A-o> ``, `` <A-up> ``, select: `` <A-o> ``, `` <A-up> `` |
| `shrink_selection` | Shrink selection to previously expanded syntax node | normal: `` <A-down> ``, `` <A-i> ``, select: `` <A-down> ``, `` <A-i> `` |
| `select_next_sibling` | Select next sibling in the syntax tree | normal: `` <A-right> ``, `` <A-n> ``, select: `` <A-right> ``, `` <A-n> `` |
| `select_next_sibling` | Select next sibling in the syntax tree | normal: `` <A-n> ``, `` <A-right> ``, select: `` <A-n> ``, `` <A-right> `` |
| `select_prev_sibling` | Select previous sibling the in syntax tree | normal: `` <A-p> ``, `` <A-left> ``, select: `` <A-p> ``, `` <A-left> `` |
| `select_all_siblings` | Select all siblings of the current node | normal: `` <A-a> ``, select: `` <A-a> `` |
| `select_all_children` | Select all children of the current node | normal: `` <S-A-down> ``, `` <A-I> ``, select: `` <S-A-down> ``, `` <A-I> `` |
| `jump_forward` | Jump forward on jumplist | normal: `` <tab> ``, `` <C-i> ``, select: `` <tab> ``, `` <C-i> `` |
| `jump_backward` | Jump backward on jumplist | normal: `` <C-o> ``, select: `` <C-o> `` |
| `save_selection` | Save current selection to jumplist | normal: `` <C-s> ``, select: `` <C-s> `` |
| `jump_view_right` | Jump to right split | normal: `` <space>w<C-l> ``, `` <space>wl ``, `` <space>w<right> ``, `` <C-w><right> ``, `` <C-w><C-l> ``, `` <C-w>l ``, select: `` <space>w<C-l> ``, `` <space>wl ``, `` <space>w<right> ``, `` <C-w><right> ``, `` <C-w><C-l> ``, `` <C-w>l `` |
| `jump_view_left` | Jump to left split | normal: `` <space>wh ``, `` <space>w<C-h> ``, `` <space>w<left> ``, `` <C-w>h ``, `` <C-w><C-h> ``, `` <C-w><left> ``, select: `` <space>wh ``, `` <space>w<C-h> ``, `` <space>w<left> ``, `` <C-w>h ``, `` <C-w><C-h> ``, `` <C-w><left> `` |
| `jump_view_up` | Jump to split above | normal: `` <space>wk ``, `` <space>w<C-k> ``, `` <space>w<up> ``, `` <C-w>k ``, `` <C-w><up> ``, `` <C-w><C-k> ``, select: `` <space>wk ``, `` <space>w<C-k> ``, `` <space>w<up> ``, `` <C-w>k ``, `` <C-w><up> ``, `` <C-w><C-k> `` |
| `jump_view_down` | Jump to split below | normal: `` <space>wj ``, `` <space>w<down> ``, `` <space>w<C-j> ``, `` <C-w><C-j> ``, `` <C-w>j ``, `` <C-w><down> ``, select: `` <space>wj ``, `` <space>w<down> ``, `` <space>w<C-j> ``, `` <C-w><C-j> ``, `` <C-w>j ``, `` <C-w><down> `` |
| `swap_view_right` | Swap with right split | normal: `` <space>wL ``, `` <C-w>L ``, select: `` <space>wL ``, `` <C-w>L `` |
| `swap_view_left` | Swap with left split | normal: `` <space>wH ``, `` <C-w>H ``, select: `` <space>wH ``, `` <C-w>H `` |
| `swap_view_up` | Swap with split above | normal: `` <space>wK ``, `` <C-w>K ``, select: `` <space>wK ``, `` <C-w>K `` |
| `swap_view_down` | Swap with split below | normal: `` <space>wJ ``, `` <C-w>J ``, select: `` <space>wJ ``, `` <C-w>J `` |
| `transpose_view` | Transpose splits | normal: `` <space>wt ``, `` <space>w<C-t> ``, `` <C-w>t ``, `` <C-w><C-t> ``, select: `` <space>wt ``, `` <space>w<C-t> ``, `` <C-w>t ``, `` <C-w><C-t> `` |
| `rotate_view` | Goto next window | normal: `` <space>ww ``, `` <space>w<C-w> ``, `` <C-w>w ``, `` <C-w><C-w> ``, select: `` <space>ww ``, `` <space>w<C-w> ``, `` <C-w>w ``, `` <C-w><C-w> `` |
| `jump_view_right` | Jump to right split | normal: `` <C-w><C-l> ``, `` <C-w>l ``, `` <C-w><right> ``, `` <space>wl ``, `` <space>w<right> ``, `` <space>w<C-l> ``, select: `` <C-w><C-l> ``, `` <C-w>l ``, `` <C-w><right> ``, `` <space>wl ``, `` <space>w<right> ``, `` <space>w<C-l> `` |
| `jump_view_left` | Jump to left split | normal: `` <C-w><C-h> ``, `` <C-w>h ``, `` <C-w><left> ``, `` <space>wh ``, `` <space>w<left> ``, `` <space>w<C-h> ``, select: `` <C-w><C-h> ``, `` <C-w>h ``, `` <C-w><left> ``, `` <space>wh ``, `` <space>w<left> ``, `` <space>w<C-h> `` |
| `jump_view_up` | Jump to split above | normal: `` <C-w><up> ``, `` <C-w>k ``, `` <C-w><C-k> ``, `` <space>w<C-k> ``, `` <space>w<up> ``, `` <space>wk ``, select: `` <C-w><up> ``, `` <C-w>k ``, `` <C-w><C-k> ``, `` <space>w<C-k> ``, `` <space>w<up> ``, `` <space>wk `` |
| `jump_view_down` | Jump to split below | normal: `` <C-w><C-j> ``, `` <C-w><down> ``, `` <C-w>j ``, `` <space>wj ``, `` <space>w<down> ``, `` <space>w<C-j> ``, select: `` <C-w><C-j> ``, `` <C-w><down> ``, `` <C-w>j ``, `` <space>wj ``, `` <space>w<down> ``, `` <space>w<C-j> `` |
| `swap_view_right` | Swap with right split | normal: `` <C-w>L ``, `` <space>wL ``, select: `` <C-w>L ``, `` <space>wL `` |
| `swap_view_left` | Swap with left split | normal: `` <C-w>H ``, `` <space>wH ``, select: `` <C-w>H ``, `` <space>wH `` |
| `swap_view_up` | Swap with split above | normal: `` <C-w>K ``, `` <space>wK ``, select: `` <C-w>K ``, `` <space>wK `` |
| `swap_view_down` | Swap with split below | normal: `` <C-w>J ``, `` <space>wJ ``, select: `` <C-w>J ``, `` <space>wJ `` |
| `transpose_view` | Transpose splits | normal: `` <C-w><C-t> ``, `` <C-w>t ``, `` <space>wt ``, `` <space>w<C-t> ``, select: `` <C-w><C-t> ``, `` <C-w>t ``, `` <space>wt ``, `` <space>w<C-t> `` |
| `rotate_view` | Goto next window | normal: `` <C-w>w ``, `` <C-w><C-w> ``, `` <space>ww ``, `` <space>w<C-w> ``, select: `` <C-w>w ``, `` <C-w><C-w> ``, `` <space>ww ``, `` <space>w<C-w> `` |
| `rotate_view_reverse` | Goto previous window | |
| `hsplit` | Horizontal bottom split | normal: `` <space>ws ``, `` <space>w<C-s> ``, `` <C-w><C-s> ``, `` <C-w>s ``, select: `` <space>ws ``, `` <space>w<C-s> ``, `` <C-w><C-s> ``, `` <C-w>s `` |
| `hsplit_new` | Horizontal bottom split scratch buffer | normal: `` <space>wns ``, `` <space>wn<C-s> ``, `` <C-w>ns ``, `` <C-w>n<C-s> ``, select: `` <space>wns ``, `` <space>wn<C-s> ``, `` <C-w>ns ``, `` <C-w>n<C-s> `` |
| `vsplit` | Vertical right split | normal: `` <space>w<C-v> ``, `` <space>wv ``, `` <C-w><C-v> ``, `` <C-w>v ``, select: `` <space>w<C-v> ``, `` <space>wv ``, `` <C-w><C-v> ``, `` <C-w>v `` |
| `vsplit_new` | Vertical right split scratch buffer | normal: `` <space>wn<C-v> ``, `` <space>wnv ``, `` <C-w>n<C-v> ``, `` <C-w>nv ``, select: `` <space>wn<C-v> ``, `` <space>wnv ``, `` <C-w>n<C-v> ``, `` <C-w>nv `` |
| `wclose` | Close window | normal: `` <space>wq ``, `` <space>w<C-q> ``, `` <C-w><C-q> ``, `` <C-w>q ``, select: `` <space>wq ``, `` <space>w<C-q> ``, `` <C-w><C-q> ``, `` <C-w>q `` |
| `wonly` | Close windows except current | normal: `` <space>w<C-o> ``, `` <space>wo ``, `` <C-w>o ``, `` <C-w><C-o> ``, select: `` <space>w<C-o> ``, `` <space>wo ``, `` <C-w>o ``, `` <C-w><C-o> `` |
| `hsplit` | Horizontal bottom split | normal: `` <C-w>s ``, `` <C-w><C-s> ``, `` <space>ws ``, `` <space>w<C-s> ``, select: `` <C-w>s ``, `` <C-w><C-s> ``, `` <space>ws ``, `` <space>w<C-s> `` |
| `hsplit_new` | Horizontal bottom split scratch buffer | normal: `` <C-w>n<C-s> ``, `` <C-w>ns ``, `` <space>wn<C-s> ``, `` <space>wns ``, select: `` <C-w>n<C-s> ``, `` <C-w>ns ``, `` <space>wn<C-s> ``, `` <space>wns `` |
| `vsplit` | Vertical right split | normal: `` <C-w><C-v> ``, `` <C-w>v ``, `` <space>wv ``, `` <space>w<C-v> ``, select: `` <C-w><C-v> ``, `` <C-w>v ``, `` <space>wv ``, `` <space>w<C-v> `` |
| `vsplit_new` | Vertical right split scratch buffer | normal: `` <C-w>n<C-v> ``, `` <C-w>nv ``, `` <space>wnv ``, `` <space>wn<C-v> ``, select: `` <C-w>n<C-v> ``, `` <C-w>nv ``, `` <space>wnv ``, `` <space>wn<C-v> `` |
| `wclose` | Close window | normal: `` <C-w><C-q> ``, `` <C-w>q ``, `` <space>w<C-q> ``, `` <space>wq ``, select: `` <C-w><C-q> ``, `` <C-w>q ``, `` <space>w<C-q> ``, `` <space>wq `` |
| `wonly` | Close windows except current | normal: `` <C-w><C-o> ``, `` <C-w>o ``, `` <space>w<C-o> ``, `` <space>wo ``, select: `` <C-w><C-o> ``, `` <C-w>o ``, `` <space>w<C-o> ``, `` <space>wo `` |
| `select_register` | Select register | normal: `` " ``, select: `` " `` |
| `insert_register` | Insert register | insert: `` <C-r> `` |
| `align_view_middle` | Align view middle | normal: `` zm ``, `` Zm ``, select: `` zm ``, `` Zm `` |
| `align_view_top` | Align view top | normal: `` zt ``, `` Zt ``, select: `` zt ``, `` Zt `` |
| `align_view_center` | Align view center | normal: `` zc ``, `` zz ``, `` Zz ``, `` Zc ``, select: `` zc ``, `` zz ``, `` Zz ``, `` Zc `` |
| `align_view_bottom` | Align view bottom | normal: `` zb ``, `` Zb ``, select: `` zb ``, `` Zb `` |
| `scroll_up` | Scroll view up | normal: `` z<up> ``, `` zk ``, `` Zk ``, `` Z<up> ``, select: `` z<up> ``, `` zk ``, `` Zk ``, `` Z<up> `` |
| `scroll_down` | Scroll view down | normal: `` zj ``, `` z<down> ``, `` Zj ``, `` Z<down> ``, select: `` zj ``, `` z<down> ``, `` Zj ``, `` Z<down> `` |
| `scroll_up` | Scroll view up | normal: `` zk ``, `` z<up> ``, `` Z<up> ``, `` Zk ``, select: `` zk ``, `` z<up> ``, `` Z<up> ``, `` Zk `` |
| `scroll_down` | Scroll view down | normal: `` zj ``, `` z<down> ``, `` Z<down> ``, `` Zj ``, select: `` zj ``, `` z<down> ``, `` Z<down> ``, `` Zj `` |
| `match_brackets` | Goto matching bracket | normal: `` mm ``, select: `` mm `` |
| `surround_add` | Surround add | normal: `` ms ``, select: `` ms `` |
| `surround_replace` | Surround replace | normal: `` mr ``, select: `` mr `` |