# Cursor Features and Practical Usage
✏️ No chat needed — select code and say "make this async" right where it lives. Cursor's Inline Edit is the shortest path to local fixes.
🏷️ Title: Cmd/Ctrl+K
🔗 URL:
📘 Overview
Inline Edit lets you make focused code changes directly in the editor without opening the chat. Select code and press `Cmd+K` (Mac) / `Ctrl+K` (Windows/Linux), and an instruction box opens in place. It's built for fast, pinpoint edits.
⚙️ How It Works
・Give a natural-language instruction on the selected code and press `Return` to apply, e.g. "Convert this to an async function."
・It supports iterative refinement — request follow-up edits and they apply sequentially.
・Question mode: press `Opt+Return` (Mac) / `Alt+Return` (Windows/Linux) to ask about the selected code instead of editing it. If you want to implement a suggestion, type "do it" and confirm.
・Escalate to Agent: for larger, multi-file changes, select code and press `Cmd+L` (Mac) / `Ctrl+L` (Windows/Linux) to open Agent with your selection as context.
🛠️ Practical Usage
・Select a function and `Cmd+K` → "make it async," "add type annotations," "turn this branch into an early return" — cycle through local rewrites fast.
・When behavior is unclear, switch to question mode with `Opt+Return`, ask "what does this regex match?", then type "do it" to move to a fix if needed.
・When a fix grows complex and spreads across files, hand the selection to Agent with `Cmd+L` and escalate to autonomous implementation.
💡 Use Cases
Quickly fix a single function flagged in review with `Cmd+K`, verify shaky logic in question mode before changing it, and promote to Agent once impact widens — a staged workflow that fits the size of the change.
⚠️ Caveats
Inline Edit is meant for local, focused edits. Rather than forcing broad changes through `Cmd+K`, hand off to Agent with `Cmd+L` early for safer, more reliable results. Also note that User Rules generally apply only to Agent (Chat), not to Inline Edit.
#
Cursor# #
AICoding#