⚙️ 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"
|
"NEWS.md": "2123"
|
||||||
},
|
},
|
||||||
"version": 2
|
"version": 2
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ return {
|
||||||
desc = "Debug: Step out",
|
desc = "Debug: Step out",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"<F9>",
|
"<F2>",
|
||||||
function()
|
function()
|
||||||
require("dap").toggle_breakpoint()
|
require("dap").toggle_breakpoint()
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -6,11 +6,18 @@ return {
|
||||||
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
|
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
|
||||||
{ "<leader>dbB", "<cmd>PBSetConditionalBreakpoint<cr>", desc = "Breakpoint Condition" },
|
{ "<leader>dbB", "<cmd>PBSetConditionalBreakpoint<cr>", desc = "Breakpoint Condition" },
|
||||||
{ "<leader>dbb", "<cmd>PBToggleBreakpoint<cr>", desc = "Toggle Breakpoint" },
|
{ "<leader>dbb", "<cmd>PBToggleBreakpoint<cr>", desc = "Toggle Breakpoint" },
|
||||||
|
{ "<F2>", "<cmd>PBToggleBreakpoint<cr>", desc = "Toggle Breakpoint" },
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
load_breakpoints_event = { "BufReadPost" },
|
load_breakpoints_event = { "BufReadPost" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mfussenegger/nvim-dap",
|
||||||
|
keys = {
|
||||||
|
{ "<F2>", false },
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue