Skip to content

Commit

Permalink
feat: Add more shortcuts for dap
Browse files Browse the repository at this point in the history
- Target:
  I need add more shortcuts for dap.

- Changed:
  Add more shortcuts for dap.
  • Loading branch information
burstknight committed Jun 25, 2024
1 parent b52bb6e commit 4012e21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nvim/lua/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ local dap_keymaps = {
name = "DAP",
c = {"<cmd>lua require'dap'.continue()<CR>", "Continue"},
n = {"<cmd>lua require'dap'.step_over()<CR>", "Next"},
s = {"<cmd>lua require'dap'.step_into()<CR>"},
s = {"<cmd>lua require'dap'.step_into()<CR>", "Step"},
b = {"<cmd>lua require'dap'.toggle_breakpoint()<CR>", "Breakpoint"},
q = {"<cmd>lua require'dap'.close()<CR>", "Quit"},
d = {"<cmd>lua require'dap'.disconnect()<CR>", "Disconnect"},
x = {"<cmd>lua require'dap'.terminate()<CR>", "Terminate"},
},
}

Expand Down

0 comments on commit 4012e21

Please sign in to comment.