add new keypmap for quick selecting first entry

This commit is contained in:
2026-01-17 15:44:47 +01:00
parent 24bd89a7be
commit bd6930adc0
4 changed files with 294 additions and 24 deletions

View File

@@ -63,15 +63,20 @@ If no runner matches the current test file, test-samurai will show:
Additional keymaps:
- `<leader>qn` -> close the testing floats and jump to the first quickfix entry
- `<leader>nf` -> jump to the next `[ FAIL ]` entry in the Test-Listing-Float (wraps to the first)
- `<leader>pf` -> jump to the previous `[ FAIL ]` entry in the Test-Listing-Float (wraps to the last)
- `<leader>sf` -> filter the listing to `[ FAIL ] - ...` entries
- `<leader>ss` -> filter the listing to `[ SKIP ] - ...` entries
- `<leader>sa` -> clear the listing filter and show all entries
- `<leader>tt` -> run the test under the cursor in the listing
- `<leader>cb` -> breaks test-command onto multiple lines (clears search highlight)
- `<leader>cj` -> joins test-command onto single line
- Listing navigation:
- `<leader>fn` -> [F]ind [N]ext failed test in listing (wraps to the first)
- `<leader>fp` -> [F]ind [P]revious failed test in listing (wraps to the last)
- `<leader>ff` -> [F]ind [F]irst list entry
- `<leader>o` -> jump to the test location
- `<leader>qn` -> close the testing floats and jump to the first quickfix entry
- Listing filters:
- `<leader>sf` -> filter the listing to `[ FAIL ] - ...` entries
- `<leader>ss` -> filter the listing to `[ SKIP ] - ...` entries
- `<leader>sa` -> clear the listing filter and show all entries
- Listing actions:
- `<leader>tt` -> run the test under the cursor in the listing
- `<leader>cb` -> breaks test-command onto multiple lines (clears search highlight)
- `<leader>cj` -> joins test-command onto single line
- `?` -> show help with TSam commands and standard keymaps in the Detail-Float
Before running any test command, test-samurai runs `:wall` to save all buffers.