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:
parent
58b6840815
commit
80f2853999
4 changed files with 68 additions and 75 deletions
|
|
@ -10,7 +10,6 @@ M.ACTIONS = {
|
|||
'cache',
|
||||
'interact',
|
||||
'edit',
|
||||
'race',
|
||||
'stress',
|
||||
'submit',
|
||||
'open',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue