From e7774c4ab1a6504cd34cccb0beccdb0df1154b6f Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 23 Jul 2024 03:43:32 +0300 Subject: [PATCH] chore(docs): update nvim keybindings --- docs/nvim-keybindings.md | 125 +++++++++++++++++++-------------------- 1 file changed, 62 insertions(+), 63 deletions(-) diff --git a/docs/nvim-keybindings.md b/docs/nvim-keybindings.md index 7965552..764510e 100644 --- a/docs/nvim-keybindings.md +++ b/docs/nvim-keybindings.md @@ -19,29 +19,29 @@ n zc * :Commands FZF: search commands. n zf * :FZF FZF: search for files in given path. - f * + f * [F]ormat buffer -n e * -n tz * - Toggle ZenMode -n 4 * +n e * +n 4 * harpoon to file 4 -n 3 * +n 3 * harpoon to file 3 -n 2 * +n 2 * harpoon to file 2 -n 1 * +n 1 * harpoon to file 1 -n xn * +n xn * harpoon to next file -n xN * +n xN * harpoon to previous file -n xa * +n xa * harpoon quick menu -n xA * +n xA * harpoon file -n 5 * +n 5 * harpoon to file 5 +n tz * + Toggle ZenMode n qq * wq! Quickly Quit n bq * @@ -74,17 +74,17 @@ n ]% (MatchitNormalMultiForward) n ]d * Jump to the next diagnostic x a% (MatchitVisualTextObject) -o al +o al Around last textobject -o an +o an Around next textobject -x al +x al Around last textobject -x an +x an Around next textobject -o a +o a Around textobject -x a +x a Around textobject n dj * Go to next [D]iagnostic message @@ -93,21 +93,21 @@ n dk * (MatchitOperationBackward) x g% (MatchitVisualBackward) n g% (MatchitNormalBackward) -o g] +o g] Move to right "around" -x g] +x g] Move to right "around" -n g] +n g] Move to right "around" -o g[ +o g[ Move to left "around" -x g[ +x g[ Move to left "around" -n g[ +n g[ Move to left "around" -n gcA * +n gcA * Comment insert end of line -n gcO * +n gcO * Comment insert above n gco * Comment insert below @@ -129,53 +129,53 @@ x gx * Opens filepath or URI under cursor with the system handler (file explorer, web browser, …) n gx * Opens filepath or URI under cursor with the system handler (file explorer, web browser, …) -o il +o il Inside last textobject -o in +o in Inside next textobject -x il +x il Inside last textobject -x in +x in Inside next textobject -o i +o i Inside textobject -x i +x i Inside textobject -n shn * +n shn * Highlight next surrounding -n sFn * +n sFn * Find next left surrounding -n sfn * +n sfn * Find next right surrounding -n srn * +n srn * Replace next surrounding -n sdn * +n sdn * Delete next surrounding -n shl * +n shl * Highlight previous surrounding -n sFl * +n sFl * Find previous left surrounding -n sfl * +n sfl * Find previous right surrounding -n srl * +n srl * Replace previous surrounding -n sdl * +n sdl * Delete previous surrounding x sa * :lua MiniSurround.add('visual') Add surrounding to selection -n sn * +n sn * Update `MiniSurround.config.n_lines` -n sh * +n sh * Highlight surrounding -n sF * +n sF * Find left surrounding -n sf * +n sf * Find right surrounding -n sr * +n sr * Replace surrounding -n sd * +n sd * Delete surrounding -n sa * +n sa * Add surrounding x (MatchitVisualTextObject) (MatchitVisualMultiBackward)o(MatchitVisualMultiForward) o (MatchitOperationMultiForward) * :call matchit#MultiMatch("W", "o") @@ -197,29 +197,28 @@ x (fzf-maps-x) * :call fzf#vim#maps('x', 0) n (fzf-maps-n) * :call fzf#vim#maps('n', 0) n (fzf-normal) * n (fzf-insert) * i -n PlenaryTestFile * :lua require('plenary.test_harness').test_file(vim.fn.expand("%:p")) x (comment_toggle_blockwise_visual) * lua require("Comment.api").locked("toggle.blockwise")(vim.fn.visualmode()) Comment toggle blockwise (visual) x (comment_toggle_linewise_visual) * lua require("Comment.api").locked("toggle.linewise")(vim.fn.visualmode()) Comment toggle linewise (visual) -n (comment_toggle_blockwise_count) * +n (comment_toggle_blockwise_count) * Comment toggle blockwise with count -n (comment_toggle_linewise_count) * +n (comment_toggle_linewise_count) * Comment toggle linewise with count -n (comment_toggle_blockwise_current) * +n (comment_toggle_blockwise_current) * Comment toggle current block -n (comment_toggle_linewise_current) * +n (comment_toggle_linewise_current) * Comment toggle current line -n (comment_toggle_blockwise) * +n (comment_toggle_blockwise) * Comment toggle blockwise -n (comment_toggle_linewise) * +n (comment_toggle_linewise) * Comment toggle linewise -n * +n * n * w Save file -n * -n * -n * +n * +n * +n * n * echo "Use j to move!!" n * echo "Use k to move!!" n * echo "Use l to move!!" @@ -228,7 +227,7 @@ n d Show diagnostics under the cursor n d * Show diagnostics under the cursor -n * +n * ``` -- Generated on Sun 30 Jun 2024 14:16:28 EEST +- Generated on Mon 22 Jul 2024 17:32:22 EEST