From 8a589625639b440b0c10e1c85d539d39ca09a23d Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 29 Mar 2024 21:54:38 -0400 Subject: [PATCH] nvim: misc debugging cleanups removed wrong submodule and added run to cursor bind --- .gitmodules | 3 --- README.md | 2 -- src/.config/nvim/lua/debugging.lua | 3 ++- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitmodules b/.gitmodules index e84d4f2..7823af1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/README.md b/README.md index 7cc5025..2a9e348 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/.config/nvim/lua/debugging.lua b/src/.config/nvim/lua/debugging.lua index 1606d5b..c227030 100644 --- a/src/.config/nvim/lua/debugging.lua +++ b/src/.config/nvim/lua/debugging.lua @@ -26,8 +26,9 @@ keymap("rt", function() dap.continue() end) keymap("rr", dap.terminate) -keymap("", dap.step_into) +keymap("", dap.step_into) keymap("", dap.step_over) +keymap("", dap.run_to_cursor) keymap("", dap.step_out) keymap("dsf", dap.toggle_breakpoint) keymap("dsc", dap.clear_breakpoints)