From 926cd4b0a1f77950016afecb910dc16bdb496a4e Mon Sep 17 00:00:00 2001 From: aloslider <53711835+aloslider@users.noreply.github.com> Date: Mon, 19 Oct 2026 06:36:10 +0300 Subject: [PATCH] [nvim] Remap neotest keys and add new ones --- dot_config/nvim/benq/lua/plugins/features/testing.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_config/nvim/benq/lua/plugins/features/testing.lua b/dot_config/nvim/benq/lua/plugins/features/testing.lua index 67a3057..5059235 100644 --- a/dot_config/nvim/benq/lua/plugins/features/testing.lua +++ b/dot_config/nvim/benq/lua/plugins/features/testing.lua @@ -15,7 +15,10 @@ return { }) end, keys = { - { "", function() require("neotest").run.run({strategy = "dap"}) end, desc = "Run tests" }, + { "trn", function() require("neotest").run.run() end, desc = "Run nearest test" }, + { "tra", function() require("neotest").run.run({ suite = true }) end, desc = "Run all tests" }, + { "td", function() require("neotest").run.run({ strategy = "dap" }) end, desc = "Run nearest test with debugger" }, + { "ts", function() require("neotest").summary.toggle() end, desc = "Toggle test summary" }, } } }