⚙️ config(nvim): added quick keymap for breakpoints
This commit is contained in:
parent
556427128b
commit
7c828d13b0
3 changed files with 9 additions and 3 deletions
|
@ -96,5 +96,4 @@
|
|||
"NEWS.md": "2123"
|
||||
},
|
||||
"version": 2
|
||||
}
|
||||
|
||||
}
|
|
@ -40,7 +40,7 @@ return {
|
|||
desc = "Debug: Step out",
|
||||
},
|
||||
{
|
||||
"<F9>",
|
||||
"<F2>",
|
||||
function()
|
||||
require("dap").toggle_breakpoint()
|
||||
end,
|
||||
|
|
|
@ -6,11 +6,18 @@ return {
|
|||
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
|
||||
{ "<leader>dbB", "<cmd>PBSetConditionalBreakpoint<cr>", desc = "Breakpoint Condition" },
|
||||
{ "<leader>dbb", "<cmd>PBToggleBreakpoint<cr>", desc = "Toggle Breakpoint" },
|
||||
{ "<F2>", "<cmd>PBToggleBreakpoint<cr>", desc = "Toggle Breakpoint" },
|
||||
},
|
||||
opts = {
|
||||
load_breakpoints_event = { "BufReadPost" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
keys = {
|
||||
{ "<F2>", false },
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
opts = {
|
||||
|
|
Loading…
Add table
Reference in a new issue