Keybindings
All keybindings are active when the editor has text focus. Commands are also available via the Command Palette (Ctrl+Shift+P) under the CriticMarkup category.
Insert
Wrap a selection before triggering to mark existing text; trigger without a selection to insert empty markers at the cursor.
| Action | Keybinding |
|---|---|
| Insert Deletion | Alt+K Alt+D |
| Insert Addition | Alt+K Alt+A |
| Insert Substitution | Alt+K Alt+S |
| Insert Highlight | Alt+K Alt+H |
| Insert Comment | Alt+K Alt+C |
Navigate
| Action | Keybinding |
|---|---|
| Next Change | Alt+K Alt+↓ |
| Previous Change | Alt+K Alt+↑ |
| First Change | Alt+K Alt+Home |
| Last Change | Alt+K Alt+End |
Next/Previous wrap around at document boundaries with a brief notification.
Accept / Reject
| Action | Keybinding |
|---|---|
| Accept Change at Cursor | Alt+A |
| Reject Change at Cursor | Alt+R |
| Accept All Changes | Alt+K Enter |
| Reject All Changes | Alt+K Backspace |
Alt+A / Alt+R carry an extra kaicrit.hasChanges condition, so they only fire while the active document contains at least one CriticMarkup change — in plain files those keys keep their normal behavior. With the cursor outside a change the command is a quiet no-op (brief status-bar notice, no modal dialog).
View
| Action | Keybinding |
|---|---|
| Open Double-Pane View (Original | New) | Alt+K Alt+P |
Opens the active CriticMarkup document as two side-by-side editors (Original | New). See Double-Pane view.
Customize
Any keybinding can be overridden via File › Preferences › Keyboard Shortcuts (search for kaicrit) or by editing keybindings.json directly:
{ "key": "ctrl+alt+down", "command": "kaicrit.nextChange", "when": "editorTextFocus" }
To put the Double-Pane view on a key of your choosing, rebind kaicrit.openDoublePane — for example:
{ "key": "ctrl+alt+p", "command": "kaicrit.openDoublePane", "when": "editorTextFocus" }
The when clause editorTextFocus is the condition used by most default bindings; the accept/reject bindings additionally require kaicrit.hasChanges.