# nvim keybindings ```txt n zg * :Rg FZF: search with rg (aka live grep). n zm * :Maps FZF: search mappings. n zh * :History FZF: search history of opened files n zb * :Buffers FZF: search open buffers. n zt * :Windows FZF: search open tabs. n zc * :Commands FZF: search commands. n zf * :FZF FZF: search for files in given path. n tc * CloakToggle [tc] Toggle Cloak n / * [/] Fuzzily search in current buffer] n ht * n 1 * harpoon to file 1 n xn * harpoon to next file n xN * harpoon to previous file n xa * Open harpoon window n 5 * harpoon to file 5 n 4 * harpoon to file 4 n 3 * harpoon to file 3 n 2 * harpoon to file 2 n gB * :G blame n gb * :Telescope git_branches n gP * :Neogit push n gp * :Neogit pull n gc * :Neogit commit n gs * n e * NeoTree reveal n ca * LSP: Code Action n wl * LSP: Workspace List Folders n wr * LSP: Workspace Remove Folder n wa * LSP: Workspace Add Folder n ws * LSP: Workspace Symbols n D * LSP: Type Definition n dq * Diagnostic: Set loc list n do * Diagnostic: Open float n cr * LSP: Rename n ds * LSP: Document Symbols n ?s * Neoconf: Show merged config n ?m * Neoconf: Show merged LSP config n ?l * Neoconf: Local n ?g * Neoconf: Global n ?c * Neoconf: Open f * [f] Format buffer n qq * wq! [qq] Quickly Quit n xe * GoIfErr Go If Error v * n * n qf * :q Quicker close split n bw :Bwipeout Buffer: Wipeout n bd :Bdelete Buffer: Delete n bl :bnext Buffer: Next n bh :bprev Buffer: Prev n bj :bfirst Buffer: First n bk :blast Buffer: Last x # * :help v_#-default o % (MatchitOperationForward) x % (MatchitVisualForward) n % (MatchitNormalForward) n & * :&& :help &-default x * * :help v_star-default x @ * mode() == 'V' ? ':normal! @'.getcharstr().'' : '@' :help v_@-default n B ^ n E $ n K * LSP: Hover Documentation n QQ :q! Quickly Quit x Q * mode() == 'V' ? ':normal! @=reg_recorded()' : 'Q' :help v_Q-default x S VSurround n WW :w! Force write n Y * y$ :help Y-default o [% (MatchitOperationMultiBackward) x [% (MatchitVisualMultiBackward) n [% (MatchitNormalMultiBackward) n [d * Jump to the previous diagnostic o ]% (MatchitOperationMultiForward) x ]% (MatchitVisualMultiForward) n ]% (MatchitNormalMultiForward) n ]d * Jump to the next diagnostic x a% (MatchitVisualTextObject) n cS CSurround n cs Csurround n ds Dsurround n dn * Diagnostic: Goto Next n dp * Diagnostic: Goto Prev o g% (MatchitOperationBackward) x g% (MatchitVisualBackward) n g% (MatchitNormalBackward) x gS VgSurround n gP * Close preview windows n gpr * Preview references n gpD * Preview declaration n gpi * Preview implementation n gpt * Preview type definition n gpd * Preview definition n gR * :RegexplainerToggle Toggle Regexplainer n gd * LSP: Goto Definition n gr * LSP: Goto References n gI * LSP: Goto Implementation n gD * LSP: Goto Declaration o gc * Comment textobject n gcc * Toggle comment line x gc * Toggle comment n gc * Toggle comment 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, …) n j * v:count == 0 ? 'gj' : 'j' n k * v:count == 0 ? 'gk' : 'k' n n * Twilight n ss * :noh n tT * :TransparentToggle Toggle Transparency n ySS YSsurround n ySs YSsurround n yss Yssurround n yS YSurround n ys Ysurround x (MatchitVisualTextObject) (MatchitVisualMultiBackward)o(MatchitVisualMultiForward) o (MatchitOperationMultiForward) * :call matchit#MultiMatch("W", "o") o (MatchitOperationMultiBackward) * :call matchit#MultiMatch("bW", "o") x (MatchitVisualMultiForward) * :call matchit#MultiMatch("W", "n")m'gv`` x (MatchitVisualMultiBackward) * :call matchit#MultiMatch("bW", "n")m'gv`` n (MatchitNormalMultiForward) * :call matchit#MultiMatch("W", "n") n (MatchitNormalMultiBackward) * :call matchit#MultiMatch("bW", "n") o (MatchitOperationBackward) * :call matchit#Match_wrapper('',0,'o') o (MatchitOperationForward) * :call matchit#Match_wrapper('',1,'o') x (MatchitVisualBackward) * :call matchit#Match_wrapper('',0,'v')m'gv`` x (MatchitVisualForward) * :call matchit#Match_wrapper('',1,'v'):if col("''") != col("$") | exe ":normal! m'" | endifgv`` n (MatchitNormalBackward) * :call matchit#Match_wrapper('',0,'n') n (MatchitNormalForward) * :call matchit#Match_wrapper('',1,'n') n * :TmuxNavigatePrevious n * :TmuxNavigateDown n * :TmuxNavigateRight n * :TmuxNavigateLeft v VgSurround * :call 28_opfunc(visualmode(),visualmode() ==# 'V' ? 0 : 1) v VSurround * :call 28_opfunc(visualmode(),visualmode() ==# 'V' ? 1 : 0) n YSurround * 28_opfunc2('setup') n Ysurround * 28_opfunc('setup') n YSsurround * 28_opfunc2('setup').'_' n Yssurround * '^'.v:count1.28_opfunc('setup').'g_' n CSurround * :call 28_changesurround(1) n Csurround * :call 28_changesurround() n Dsurround * :call 28_dosurround(28_inputtarget()) n SurroundRepeat * . n * :Files FZF: search for files starting at current directory. o (fzf-maps-o) * :call fzf#vim#maps('o', 0) 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 s luasnip-jump-prev * LuaSnip: Jump to the previous node s luasnip-jump-next * LuaSnip: Jump to the next node s luasnip-prev-choice * LuaSnip: Change to the previous choice from the choiceNode s luasnip-next-choice * LuaSnip: Change to the next choice from the choiceNode s luasnip-expand-snippet * LuaSnip: Expand the current snippet s luasnip-expand-or-jump * LuaSnip: Expand or jump in the current snippet luasnip-expand-repeat * LuaSnip: Repeat last node expansion n luasnip-delete-check * LuaSnip: Removes current snippet from jumplist n PlenaryTestFile * :lua require('plenary.test_harness').test_file(vim.fn.expand("%:p")) n * w Save file n * :TmuxNavigateUp n * echo "Use j to move!!" n * echo "Use k to move!!" n * echo "Use l to move!!" n * echo "Use h to move!!" n . * :vertical resize +10 V Resize + n , * :vertical resize -10 V Resize - n d Show diagnostics under the cursor n d * Show diagnostics under the cursor ``` - Generated on Mon 23 Sep 2024 10:24:56 EEST