Skip to content

Commit

Permalink
feat: testing commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mutewinter committed Jan 4, 2025
1 parent 2844b68 commit 4ba7287
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vscode.vim
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ vim.keymap.set('n', 'gN', actions({'editor.action.marker.prev', 'closeMarkersNav
vim.keymap.set('n', '<leader>gn', action('workbench.action.editor.nextChange'))
vim.keymap.set('n', '<leader>gN', action('workbench.action.editor.previousChange'))

-- Unmap q because I keep getting stuck in macro recording accidentally
vim.keymap.set('n', 'q', '<nop>', { noremap = true })
-- Testing
vim.keymap.set('n', '<leader>tt', action('testing.runAtCursor'))
vim.keymap.set('n', '<leader>td', action('testing.debugAtCursor'))
vim.keymap.set('n', '<leader>tT', action('testing.runCurrentFile'))
vim.keymap.set('n', '<leader>tn', action('testing.goToNextMessage'))
vim.keymap.set('n', '<leader>tN', action('testing.goToPreviousMessage'))
vim.keymap.set('n', '<leader>tc', action('testing.toggleContinuousRunForTest'))
vim.keymap.set('n', '<leader>tf', action('workbench.view.testing.focus'))

-- ----------
-- Extensions
-- ----------
Expand Down

0 comments on commit 4ba7287

Please sign in to comment.