nvim: misc debugging cleanups

removed wrong submodule and added run to cursor bind
This commit is contained in:
dogeystamp 2024-03-29 21:54:38 -04:00
parent d6c3fba6d3
commit 0cf57cb0a3
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 2 additions and 4 deletions

3
.gitmodules vendored
View File

@ -96,9 +96,6 @@
# debug adapter protocol
# debugging.lua
[submodule "nvim-dap"]
path = nvim-dap
url = https://github.com/mfussenegger/nvim-dap.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-dap"]
path = src/.local/share/nvim/site/pack/3pp/start/nvim-dap
url = https://github.com/mfussenegger/nvim-dap.git

View File

@ -26,8 +26,9 @@ keymap("<leader>rt", function()
dap.continue()
end)
keymap("<leader>rr", dap.terminate)
keymap("<c-p>", dap.step_into)
keymap("<F11>", dap.step_into)
keymap("<c-n>", dap.step_over)
keymap("<c-p>", dap.run_to_cursor)
keymap("<F12>", dap.step_out)
keymap("<leader>dsf", dap.toggle_breakpoint)
keymap("<leader>dsc", dap.clear_breakpoints)