feat(ui): documentation for :CP edit abilities

This commit is contained in:
Barrett Ruth 2025-10-24 16:35:00 -04:00
parent 3fdb74a3d8
commit 181fff42de
2 changed files with 64 additions and 1 deletions

View file

@ -114,8 +114,12 @@ COMMANDS *cp-commands*
Changes saved to both cache and disk on exit,
taking effect immediately in :CP run and CLI.
Keybindings:
Keybindings (configurable via |EditConfig|):
q Save all and exit editor
]t Jump to next test column
[t Jump to previous test column
gd Delete current test column
ga Add new test column at end
<c-w> Normal window navigation
Examples: >
@ -348,6 +352,15 @@ run CSES problems with Rust using the single schema:
{format_verdict} (|VerdictFormatter|, default: nil) Custom verdict line
formatter. See |cp-verdict-format|.
*EditConfig*
Fields: ~
{next_test_key} (string|nil, default: ']t') Jump to next test.
{prev_test_key} (string|nil, default: '[t') Jump to previous test.
{delete_test_key} (string|nil, default: 'gd') Delete current test.
{add_test_key} (string|nil, default: 'ga') Add new test.
{save_and_exit_key} (string|nil, default: 'q') Save and exit editor.
All keys are nil-able. Set to nil to disable.
*cp.PanelConfig*
Fields: ~
{diff_mode} (string, default: "none") Diff backend: "none",