Cmd+K (Ctrl+K on Windows) is Cursor's inline edit command — ask AI to modify selected code without leaving your editor context.
Cmd+K
Cmd+Shift+Y
Cmd+Shift+N
Reference:
Cmd+K documentation
TaskLoco™ — The Sticky Note GOAT