From 7b01a29ee35c54680f073113f0eef5deb2f7242e Mon Sep 17 00:00:00 2001 From: Mitchell Hingley Date: Thu, 10 Sep 2026 11:45:13 -0400 Subject: [PATCH] add dap watch under cursor keymap cdw --- lua/config/keymaps.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 1aa9206..00bb64b 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -58,4 +58,7 @@ if status_ok then vim.keymap.set("n", "cdu", function() require("dapui").toggle() end, { desc = "Debug: Toggle UI" }) + vim.keymap.set("n", "cdw", function() + require("dapui").elements.watches.add(vim.fn.expand("")) + end, { desc = "DAP Add Watch under cursor" }) end