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()")