refactor(race): replace :CP race subcommand with --race flag

Problem: Race was the only command using `:CP <action> <platform> <contest>`.
Every other platform+contest command uses `:CP <platform> <contest> [flags]`.

Solution: Make race a flag on contest setup: `:CP <platform> <contest> --race`.
Remove `:CP race stop` — starting a new race auto-cancels any active one.
Remove `<Plug>(cp-race-stop)` keymap. Update tab completion for `--race`.
This commit is contained in:
Barrett Ruth 2026-03-06 18:26:05 -05:00
parent 58b6840815
commit 80f2853999
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
4 changed files with 68 additions and 75 deletions

View file

@ -10,7 +10,6 @@ M.ACTIONS = {
'cache',
'interact',
'edit',
'race',
'stress',
'submit',
'open',