diff --git a/lua/custom/plugins/neotest.lua b/lua/custom/plugins/neotest.lua index 425f7fc6..d5946acf 100644 --- a/lua/custom/plugins/neotest.lua +++ b/lua/custom/plugins/neotest.lua @@ -24,10 +24,10 @@ return { }, } - vim.keymap.set('n', 'ts', "lua require('neotest').summary.toggle()", { desc = 'Toggle [N]eotest Summary' }) - vim.keymap.set('n', 'tr', "lua require('neotest').run.run()", { desc = 'Run [N]earest test to the cursor' }) - vim.keymap.set('n', 'tf', "lua require('neotest').run.run(vim.fn.expand('%'))", { desc = 'Run entire file' }) - vim.keymap.set('n', 'td', "lua require('neotest').run.run({ strategy = 'dap' })", { desc = 'Debug [N]earest test' }) + vim.keymap.set('n', 'ts', "lua require('neotest').summary.toggle()", { desc = '[T]oggle [N]eotest Summary' }) + vim.keymap.set('n', 'rt', "lua require('neotest').run.run()", { desc = '[R]un [N]earest test to the cursor' }) + vim.keymap.set('n', 'rf', "lua require('neotest').run.run(vim.fn.expand('%'))", { desc = '[R]un entire file' }) + vim.keymap.set('n', 'dt', "lua require('neotest').run.run({ strategy = 'dap' })", { desc = 'Debug [N]earest test' }) vim.keymap.set('n', ']t', "lua require('neotest').jump.next({ status = 'failed' })", { desc = 'Jump to the next failed test' }) vim.keymap.set('n', '[t', "require('neotest').jump.prev({ status = 'failed' })", { desc = 'Jump to the previous failed test' }) end,