Cmd-K
An inline editing feature in the Cursor code editor. After selecting code, the user describes modifications in natural language, and the model generates a diff that is presented directly, with the scope limited to the selection.
Timeline (last 90 days)
Cmd-K (Ctrl-K on Windows) is Cursor's inline editing entry point, and it is an independent channel from the side-panel Chat.
After Cmd-K is triggered, the model sees only the selected code snippet and the user's one-sentence instruction, and the generated result is presented as a diff that can be accepted or rejected via keyboard shortcuts.
Cmd-K's scope is limited to the selection; it does not reorganize the entire file like a chat box and does not trigger cross-file changes, so latency is lower and controllability is stronger.
All Facts (3)
Cmd-K (Ctrl-K on Windows) is Cursor's inline editing entry point, and it is an independent channel from the side-panel Chat.
50%UnverifiedAfter Cmd-K is triggered, the model sees only the selected code snippet and the user's one-sentence instruction, and the generated result is presented as a diff that can be accepted or rejected via keyboard shortcuts.
50%UnverifiedCmd-K's scope is limited to the selection; it does not reorganize the entire file like a chat box and does not trigger cross-file changes, so latency is lower and controllability is stronger.
50%