From eefc908399ef494ac3632327b3bd4e2735326768 Mon Sep 17 00:00:00 2001 From: Aotrix Date: Wed, 26 Feb 2025 22:14:59 +0100 Subject: added new shortcuts --- lua/aotrix/plugins/cmake-tools.lua | 1 + lua/aotrix/plugins/nvim_dap.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/aotrix') 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", "CMakeRun") + vim.keymap.set("n", "mT", "CMakeDebug") vim.keymap.set("n", "ms", "CMakeSelectLaunchTarget") 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", "", function() require("dap").continue() end) - vim.keymap.set("n", "", function() require("dap").step_into() end) - vim.keymap.set("n", "", function() require("dap").step_over() end) + vim.keymap.set("n", "", function() require("dap").step_over() end) + vim.keymap.set("n", "", function() require("dap").step_into() end) vim.keymap.set("n", "", function() require("dap").step_out() end) vim.keymap.set("n", "", function() require("dap").step_back() end) vim.keymap.set("n", "", function() require("dap").restart() end) -- cgit v1.2.3