[KongchangAI]
ConceptCtrl-K / 行内编辑

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)

Nov 14

Cmd-K (Ctrl-K on Windows) is Cursor's inline editing entry point, and it is an independent channel from the side-panel Chat.

Unverified50%
Nov 14

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.

Unverified50%
Nov 14

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.

Unverified50%

All Facts (3)

Source Articles