diff options
| author | Aotrix <[email protected]> | 2025-02-26 22:14:59 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-02-26 22:14:59 +0100 |
| commit | eefc908399ef494ac3632327b3bd4e2735326768 (patch) | |
| tree | 9aae1616a9bc2964fe9a5f903dc3d7fa054b9ff0 /lua | |
| parent | 0de495347b9d076da783274cd6dca6004ab488fd (diff) | |
added new shortcuts
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/aotrix/plugins/cmake-tools.lua | 1 | ||||
| -rw-r--r-- | lua/aotrix/plugins/nvim_dap.lua | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lua/aotrix/plugins/cmake-tools.lua b/lua/aotrix/plugins/cmake-tools.lua index 36b6e40..cce3ed0 100644 --- a/lua/aotrix/plugins/cmake-tools.lua +++ b/lua/aotrix/plugins/cmake-tools.lua @@ -69,6 +69,7 @@ return { cmake_virtual_text_support = false -- Show the target related to current file using virtual text (at right corner) } vim.keymap.set("n", "mt", "<CMD>CMakeRun<CR>") + vim.keymap.set("n", "mT", "<CMD>CMakeDebug<CR>") vim.keymap.set("n", "ms", "<CMD>CMakeSelectLaunchTarget<CR>") end } diff --git a/lua/aotrix/plugins/nvim_dap.lua b/lua/aotrix/plugins/nvim_dap.lua index d5d0346..96dc272 100644 --- a/lua/aotrix/plugins/nvim_dap.lua +++ b/lua/aotrix/plugins/nvim_dap.lua @@ -52,8 +52,8 @@ return { 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", "<F2>", function() require("dap").step_over() end) + vim.keymap.set("n", "<F3>", function() require("dap").step_into() 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) |
