Edit any selection with a single keystroke. Select code, describe the change, review the diff, accept or regenerate.
Part of the Rytora Code suite — install Rytora Code to get the full toolkit (Composer, Tab autocomplete, Cmd+K, Codebase Indexing, Publish, and more).
What it does
Select a region of code, press Cmd+K (or Ctrl+K on Windows/Linux), and type what you want changed in plain English. Rytora Code generates the edit, shows it as an inline diff, and waits for your decision before saving.
Workflow
Select code in any editor.
Press Cmd+K — an inline prompt appears.
Describe the change — "extract this to a hook", "add error handling", "convert to async/await".
Inline diff appears — additions in green, deletions in red, side by side.
Accept (Cmd+Enter), Reject (Esc), or Regenerate (Cmd+R) to try again with the same prompt.
Why use Cmd+K instead of chat
Surgical — Edits only the selection. Won't touch the rest of the file.
Fast — No context loading, no multi-file planning. Sub-second latency on small edits.
Lightweight — Doesn't consume Composer credits at the same rate.
Commands
Command
Title
rytora-code.cmdK.edit
Inline Edit (Cmd+K)
rytora-code.cmdK.acceptEdit
Accept Edit
rytora-code.cmdK.rejectEdit
Reject Edit
rytora-code.cmdK.regenerate
Regenerate Edit
Keybindings
Key
Action
Cmd+K / Ctrl+K
Open inline edit prompt
Cmd+Enter
Accept the proposed edit
Esc
Reject the proposed edit
Cmd+R
Regenerate with the same prompt
Configuration
rytora-code.cmdK.maxTokens — Max tokens for the generated edit
rytora-code.cmdK.heuristicCutoffLines — Selection size at which Cmd+K defaults to streaming mode
Getting started
Install Rytora Code (recommended) or this standalone extension.
Sign in with your Rytora BuildLabs account.
Select any code, press Cmd+K, type your prompt.
Pricing
A free tier is included. Paid tiers unlock higher credit limits and Pro models. See buildlabs.rytora.ai/pricing.