Add F-key mappings to mostly match VSCode
This commit is contained in:
parent
acb933d735
commit
ed05721db1
2 changed files with 30 additions and 0 deletions
|
@ -8,6 +8,14 @@ return {
|
|||
vim.keymap.set("n", "<Leader>dc", dap.continue, { desc = "Start/Continue" })
|
||||
vim.keymap.set("n", "<Leader>do", dap.step_over, { desc = "Step Over" })
|
||||
vim.keymap.set("n", "<Leader>di", dap.step_into, { desc = "Step Into" })
|
||||
vim.keymap.set("n", "<F9>", dap.toggle_breakpoint)
|
||||
vim.keymap.set("i", "<F9>", dap.toggle_breakpoint)
|
||||
vim.keymap.set("n", "<F5>", dap.continue)
|
||||
vim.keymap.set("i", "<F5>", dap.continue)
|
||||
vim.keymap.set("n", "<F10>", dap.step_over)
|
||||
vim.keymap.set("i", "<F10>", dap.step_over)
|
||||
vim.keymap.set("n", "<F11>", dap.step_into)
|
||||
vim.keymap.set("i", "<F11>", dap.step_into)
|
||||
vim.keymap.set("n", "<Leader>dt", dap.terminate, { desc = "Terminate Session" })
|
||||
end,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue