nvim: misc debugging cleanups
removed wrong submodule and added run to cursor bind
This commit is contained in:
parent
d6c3fba6d3
commit
0cf57cb0a3
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -96,9 +96,6 @@
|
|||||||
|
|
||||||
# debug adapter protocol
|
# debug adapter protocol
|
||||||
# debugging.lua
|
# 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"]
|
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-dap"]
|
||||||
path = 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
|
url = https://github.com/mfussenegger/nvim-dap.git
|
||||||
|
@ -26,8 +26,9 @@ keymap("<leader>rt", function()
|
|||||||
dap.continue()
|
dap.continue()
|
||||||
end)
|
end)
|
||||||
keymap("<leader>rr", dap.terminate)
|
keymap("<leader>rr", dap.terminate)
|
||||||
keymap("<c-p>", dap.step_into)
|
keymap("<F11>", dap.step_into)
|
||||||
keymap("<c-n>", dap.step_over)
|
keymap("<c-n>", dap.step_over)
|
||||||
|
keymap("<c-p>", dap.run_to_cursor)
|
||||||
keymap("<F12>", dap.step_out)
|
keymap("<F12>", dap.step_out)
|
||||||
keymap("<leader>dsf", dap.toggle_breakpoint)
|
keymap("<leader>dsf", dap.toggle_breakpoint)
|
||||||
keymap("<leader>dsc", dap.clear_breakpoints)
|
keymap("<leader>dsc", dap.clear_breakpoints)
|
||||||
|
Loading…
Reference in New Issue
Block a user