Commit graph

34 commits

Author SHA1 Message Date
bfa2cf893c feat: wire race, stress, and submit commands and keymaps
Add command parsing and dispatch for :CP race, :CP race stop, :CP stress,
and :CP submit. Add tab-completion for race (platform/contest/--lang),
stress (cwd executables at arg 2 and 3), and race stop. Add
<Plug>(cp-stress), <Plug>(cp-submit), and <Plug>(cp-race-stop) keymaps.
2026-03-03 15:09:41 -05:00
029ea125b9 feat: add <Plug> mappings for all primary actions
Problem: users who want keybindings must call vim.cmd('CP run') or
reach into internal Lua modules directly. There is no stable,
discoverable, lazy-load-friendly public API for key binding.

Solution: define 7 <Plug> mappings in plugin/cp.lua that dispatch
through the same handle_command() code path as :CP. Document them
in a new MAPPINGS section in the vimdoc with helptags and an example
config block.
2026-02-07 13:23:45 -05:00
Barrett Ruth
4b1b75fd6e fix(config): padding spacing 2025-10-24 14:44:33 -04:00
Barrett Ruth
3daf582b7a feat(cache): update cache 2025-10-24 14:26:51 -04:00
Barrett Ruth
6ff0320531 cleanup 2025-10-24 13:48:56 -04:00
Barrett Ruth
9d848eba22 feat: improve autocomplete 2025-10-24 01:44:06 -04:00
41a8d1a75b feat: interactive mode 2025-10-05 15:36:28 -04:00
44bfc7317d feat(cli): :CP <problem_id> 2025-10-05 12:59:50 -04:00
6b8a1e2087 more docs 2025-10-01 21:36:53 -04:00
dc4326524c fix(health): simplify health check 2025-09-30 19:49:10 -04:00
05968657f5 feat: better auto-completion 2025-09-21 15:22:08 -04:00
cb4d39b4a7 feat(cache): auto-completion to the cli1 2025-09-21 15:20:13 -04:00
78071b119b feat: base testing files 2025-09-18 22:25:40 -04:00
bc315818e4 fix(ci): format 2025-09-18 20:04:36 -04:00
fb240fd501 feat: :CP test refactor 2025-09-18 10:20:20 -04:00
c99cf8d4f0 feat: atcoder scraper update for :CP test 2025-09-15 18:31:26 -04:00
d4fd02499d fix: revert stylua config 2025-09-15 18:10:35 -04:00
fe4cf2b680 feat(ci): use new stylua config 2025-09-15 18:10:11 -04:00
5d630d9dac refactor lang to constants 2025-09-15 18:07:22 -04:00
d43d8e4258 feat: remove diff mode 2025-09-15 15:30:26 -04:00
5417da9b52 feat: make autocomplete more sophisticated 2025-09-15 14:32:44 -04:00
35008bea32 try to fix snippets 2025-09-15 12:43:24 -04:00
20b058f034 better snippets, language management 2025-09-15 12:22:07 -04:00
95f4761b61 fix(ci): format 2025-09-15 11:35:29 -04:00
4aa16d2858 feat: flesh out language support 2025-09-15 11:35:22 -04:00
e10eab22d6 fix: revert multiple test cases 2025-09-15 10:37:40 -04:00
67d2a8054c feat: local state over vim.g 2025-09-15 07:05:31 -05:00
5cb7c03881 fix(ci): typing 2025-09-14 00:14:10 -05:00
2214c510a6 feat: nest all config in vim.g 2025-09-14 00:02:31 -05:00
08242fafa8 finish 2025-09-13 23:48:09 -05:00
40117c2cf1 feat: caching 2025-09-13 23:46:37 -05:00
94f5828a0a feat: modernize the plugin 2025-09-12 17:29:55 -05:00
0636757839 stylua no special config; 2025-09-11 23:59:02 -05:00
dcb7debff6 initial commit 2025-09-11 23:52:32 -05:00