diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-03-19 14:10:41 +0100 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-03-19 14:10:41 +0100 |
| commit | e0cf6ac98380787e252274d7dda7b6b3430b86c4 (patch) | |
| tree | 893fdbbee1ad068794594c91c2846cb8c5940499 /lua/pml68/configs | |
| parent | feat: set CMP to use the Normal highlight group (diff) | |
| download | nvim-e0cf6ac98380787e252274d7dda7b6b3430b86c4.tar.gz | |
feat: add DAP keymaps
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/configs/dap.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/pml68/configs/dap.lua b/lua/pml68/configs/dap.lua new file mode 100644 index 0000000..f78752e --- /dev/null +++ b/lua/pml68/configs/dap.lua @@ -0,0 +1,7 @@ +vim.keymap.set("n", "<leader>db", "<cmd> DapToggleBreakpoint <CR>") +vim.keymap.set("n", "<leader>dr", "<cmd> DapContinue <CR>") +vim.keymap.set("n", "<leader>dus", function() + local widgets = require("dap.ui.widgets") + local sidebar = widgets.sidebar(widgets.scope) + sidebar.open() +end) |
