From 25361af1055444e3b87b8c1c9dedc234b6d51dc2 Mon Sep 17 00:00:00 2001 From: mightypanders Date: Mon, 27 Feb 2023 22:49:20 +0100 Subject: [PATCH] debug keymap --- nvim/lua/keymap.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/lua/keymap.lua b/nvim/lua/keymap.lua index 6202a4f..4147c65 100644 --- a/nvim/lua/keymap.lua +++ b/nvim/lua/keymap.lua @@ -47,7 +47,7 @@ nmap("",":lua require'dap'.continue()") nmap("",":lua require'dap'.step_over()") nmap("",":lua require'dap'.step_into()") nmap("",":lua require'dap'.step_out()") -nmap("b",":lua require'dap'.toggle_breakpoint()") -nmap("B",":lua require'dap'.set_breakpoint(vim.fn.input('Breakpoint condition: '))") +nmap("B",":lua require'dap'.toggle_breakpoint()") +nmap("Bc",":lua require'dap'.set_breakpoint(vim.fn.input('Breakpoint condition: '))") nmap("lp",":lua require'dap'.set_breakpoint(nil,nil,vim.fn.input('Log point message: '))") nmap("lp",":lua require'dap'.repl.open()")