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 8a58962563
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
3 changed files with 2 additions and 6 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

@ -39,8 +39,6 @@ once the dotfiles are installed, see `~/.config/dot_profile.example` for more in
rather than through conventional means. This has less complexity than a plugin manager since I already manage all my dotfiles under Git.
Plugins are declared in `.gitmodules`.
- Submodules may take a lot of space (as of writing 0.5GB), so you may want to `git submodule deinit -f` some of them, manually pick the plugins you want, or even forgo all submodules.
**Desktop Preview**
![preview](https://raw.githubusercontent.com/DogeyStamp/dots/main/preview.png)

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)