AI Hub
/
Cursor
/
Basics
/
Inline edit
Basics
Inline edit
The Cmd-K edit loop — the move you'll use most.
cursor inline edit
cursor cmd k
cursor edit code
cursor quick edit
informational
Knowledge cards
Knowledge card
Master the Cmd-K Inline Edit Loop
Inline edit (Cmd-K / Ctrl-K) lets you select code, describe a change in plain language, and apply it in place as a reviewable diff — the fastest, most controlled way to use AI in Cursor.
L1 · Basic prompts