This page lists the non-negotiable keymaps from keymaps.lua: P0 covers daily survival commands, and P1 covers important workflow accelerators. Minor toggles, legacy duplicates, and low-frequency helpers are intentionally omitted.
Mode Key Action Description
Normal <leader>w:wSave the current file
Normal <leader>c:qClose the current window
Normal <leader>q:bdDelete the current buffer
Normal <space>[:bprevGo to the previous buffer
Normal <space>]:bnextGo to the next buffer
Normal <Esc><Esc>:nohClear search highlighting
Insert <C-l><Esc>Leave Insert mode
Visual <C-l><Esc>Leave Visual mode
Mode Key Action Description
Normal <leader>ffTelescope find_filesFind files in the project
Normal <leader>fgTelescope live_grepSearch text across the project
Normal <leader>fbTelescope buffersSwitch between open buffers
Normal <C-t>Neotree toggleToggle the file tree
Mode Key Action Description
Normal gdvim.lsp.buf.definitionGo to definition
Normal gDvim.lsp.buf.declarationGo to declaration
Normal givim.lsp.buf.implementationGo to implementation
Normal grvim.lsp.buf.referencesList references
Normal KLspsaga hover_docShow hover documentation
Normal <C-k>vim.lsp.buf.signature_helpShow signature help
Normal <space>rnvim.lsp.buf.renameRename symbol
Normal, Visual zivim.lsp.buf.code_actionOpen code actions
Normal <space>fvim.lsp.buf.formatFormat the current buffer
Visual <space>qfvim.lsp.buf.range_formattingFormat the selected range
Normal zjvim.diagnostic.goto_prevGo to previous diagnostic
Normal zkvim.diagnostic.goto_nextGo to next diagnostic
Normal zoLspsaga show_line_diagnosticsShow diagnostics for the current line
Mode Key Action Description
Normal <leader>g:GOpen Fugitive Git status
Normal <space>gdGitsigns diffthis HEAD~1Diff current file against previous commit
Normal <space>gjGitsigns next_hunkGo to next Git hunk
Normal <space>gkGitsigns prev_hunkGo to previous Git hunk
Normal <space>gsGitsigns stage_hunkStage current hunk
Normal <space>guGitsigns undo_stage_hunkUndo staged hunk
Mode Key Action Description
Normal <leader>dbdap.toggle_breakpoint()Toggle breakpoint
Normal <leader>dcdap.continue()Start or continue debugging
Normal <leader>didap.step_into()Step into
Normal <leader>dodap.step_over()Step over
Normal <Leader>dkdap.step_out()Step out
Normal <leader>dtdapui.toggle()Toggle DAP UI
Normal <leader>dqdap.terminate()Stop debugging
Mode Key Action Description
Normal <space>aaharpoon.mark.add_file()Add current file to Harpoon
Normal <space>atharpoon.ui.toggle_quick_menu()Open Harpoon quick menu
Normal <space>awharpoon.ui.nav_next()Go to next Harpoon file
Normal <space>asharpoon.ui.nav_prev()Go to previous Harpoon file
Normal <leader>hvsplitSplit window to the left
Normal <leader>jsplit then move downSplit window below
Normal <leader>ksplitSplit window above/current
Normal <leader>lvsplit then move rightSplit window to the right
Normal <space><Tab>OutlineToggle symbols outline
Mode Key Action Description
Normal <leader>tnneotest.run.run()Run nearest test
Normal <leader>ttneotest.run.run(current file)Run the current test file
Normal <leader>tdneotest.run.run({ strategy = "dap" })Debug nearest test
Normal <leader>tsneotest.run.stop()Stop nearest test run
Normal <leader>toneotest.output.open({ enter = true })Open test output
Normal <leader>tpneotest.output_panel.toggle()Toggle test output panel
Normal <leader>tvneotest.summary.toggle()Toggle test summary
Mode Key Action Description
Insert <C-J>copilot#Accept()Accept Copilot suggestion
Normal <leader>agCodeCompanionChatOpen CodeCompanion chat
Normal <leader>ahCodeCompanionActionsOpen CodeCompanion actions
Normal <leader>iChatGPTOpen ChatGPT
Mode Key Action Description
Normal UUndotreeToggleToggle undo history
Normal, Visual gaEasyAlignAlign text
Normal <leader>xzvim.lsp.inlay_hint.enable(...)Toggle inlay hints