# nvim keybindings ```txt n / * [/] Fuzzily search in current buffer] n hw * Open harpoon window with telescope n 1 * harpoon to file 1 n hn * harpoon to next file n hp * harpoon to previous file n ha * harpoon file 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 tc * CloakToggle [tc] Toggle Cloak n xx * Trouble Toggle Trouble n xq * Trouble quickfix Toggle Quickfix n xl * Trouble loclist Toggle Loclist n xd * Trouble document_diagnostics Toggle Document Diagnostics n xw * Trouble workspace_diagnostics Toggle Workspace Diagnostics n ?s * Neoconf show Neoconf: Show merged config n ?m * Neoconf lsp Neoconf: Show merged LSP config n ?l * Neoconf local Neoconf: Local n ?g * Neoconf global Neoconf: Global n ?c * Neoconf Neoconf: Open n wl * lua print(vim.inspect(vim.lsp.buf.list_workspace_folders())) LSP: Workspace List Folders n wr * lua vim.lsp.buf.remove_workspace_folder() LSP: Workspace Remove Folder n wa * lua vim.lsp.buf.add_workspace_folder() LSP: Workspace Add Folder n ws * lua require("telescope.builtin").lsp_dynamic_workspace_symbols() LSP: Workspace Symbols n ds * lua require("telescope.builtin").lsp_document_symbols() LSP: Document Symbols n D * lua vim.lsp.buf.type_definition() LSP: Type Definition n ca * lua vim.lsp.buf.code_action() LSP: Code Action n cr * lua vim.lsp.buf.rename() LSP: Rename n dq * lua vim.diagnostic.setloclist() Diagnostic: Set loc list n do * lua vim.diagnostic.open_float() Diagnostic: Open float cf * [f] Format buffer n e * NeoTree reveal n cg * Generate annotations n zm * FZF: search mappings. n zh * FZF: search history of opened files n zb * FZF: search open buffers. n zt * FZF: search open tabs. n zc * FZF: search commands. n zf * FZF: search for files in given path. n zg * FZF: search with rg (aka live grep). n dc * DAP: Continue n db * DAP: Toggle Breakpoint n dt * DAP: Toggle UI n ht * Open Harpoon Quick menu n dr * DAP: Reset 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 K * lua vim.lsp.buf.hover() LSP: Hover Documentation x Q * mode() == 'V' ? ':normal! @=reg_recorded()' : 'Q' :help v_Q-default x S VSurround 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 dp * lua vim.diagnostic.goto_prev() Diagnostic: Goto Prev n dn * lua vim.diagnostic.goto_next() Diagnostic: Goto Next o g% (MatchitOperationBackward) x g% (MatchitVisualBackward) n g% (MatchitNormalBackward) x gS VgSurround n gR * :RegexplainerToggle Toggle Regexplainer n gD * lua vim.lsp.buf.declaration() LSP: Goto Declaration n gd * lua vim.lsp.buf.definition() LSP: Goto Definition n gr * lua require("telescope.builtin").lsp_references() LSP: Goto References n gI * lua vim.lsp.buf.implementation() LSP: Goto Implementation 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' Move down n k * v:count == 0 ? 'gk' : 'k' Move up n n * Twilight 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') v VgSurround * :call 27_opfunc(visualmode(),visualmode() ==# 'V' ? 0 : 1) v VSurround * :call 27_opfunc(visualmode(),visualmode() ==# 'V' ? 1 : 0) n YSurround * 27_opfunc2('setup') n Ysurround * 27_opfunc('setup') n YSsurround * 27_opfunc2('setup').'_' n Yssurround * '^'.v:count1.27_opfunc('setup').'g_' n CSurround * :call 27_changesurround(1) n Csurround * :call 27_changesurround() n Dsurround * :call 27_dosurround(27_inputtarget()) n SurroundRepeat * . n * :TmuxNavigateRight n * :TmuxNavigatePrevious n * :TmuxNavigateDown n * :TmuxNavigateLeft n * :TmuxNavigateUp 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 * FZF: search for files starting at current directory. n d Show diagnostics under the cursor n d * Show diagnostics under the cursor ``` - Generated on Wed 25 Sep 2024 14:52:25 EEST