diff options
| author | Aotrix <[email protected]> | 2025-02-23 14:52:26 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-02-23 14:52:26 +0100 |
| commit | 2d29220f4b925fd3276387aaca6cc2b670275bc5 (patch) | |
| tree | ff2e11e16a8ccc58834d545d0416ecc3dfdfd681 /lua/aotrix/plugins/nvim_dap.lua | |
| parent | 5c623620a00a72614bd166396e3f2ae67f640a0c (diff) | |
added telescope keybinds
Diffstat (limited to 'lua/aotrix/plugins/nvim_dap.lua')
| -rw-r--r-- | lua/aotrix/plugins/nvim_dap.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/aotrix/plugins/nvim_dap.lua b/lua/aotrix/plugins/nvim_dap.lua index 19ab17e..cf99de4 100644 --- a/lua/aotrix/plugins/nvim_dap.lua +++ b/lua/aotrix/plugins/nvim_dap.lua @@ -46,6 +46,19 @@ return { ui.close() end + vim.keymap.set("n", "<leader>b", function() require("dap").toggle_breakpoint() end) + vim.keymap.set("n", "<leader>gb", function() require("dap").run_to_cursor() end) + -- Eval var under cursor + vim.keymap.set("n", "<leader>?", function() + require("dapui").eval(nil, { enter = true }) + end) + vim.keymap.set("n", "<F1>", function() require("dap").continue() end) + vim.keymap.set("n", "<F2>", function() require("dap").step_into() end) + vim.keymap.set("n", "<F3>", function() require("dap").step_over() end) + vim.keymap.set("n", "<F4>", function() require("dap").step_out() end) + vim.keymap.set("n", "<F5>", function() require("dap").step_back() end) + vim.keymap.set("n", "<F13>", function() require("dap").restart() end) + end, } |
