← Back to Blog

Cursor AI Keyboard Shortcuts (2026)

The complete guide to keyboard shortcuts for Cursor — the AI-first code editor built on VS Code.

Why Cursor Shortcuts Matter

Cursor combines VS Code's familiar interface with powerful AI features. The keyboard shortcuts below will help you code faster than ever — AI-assisted editing, refactoring, and debugging at your fingertips.

Cursor AI Shortcuts

ActionWindows / LinuxmacOS
AI Chat PanelCtrl + LCmd + L
Inline AI EditCtrl + KCmd + K
Accept AI SuggestionTabTab
Reject AI SuggestionEscapeEscape
AI Code CompleteCtrl + SpaceCmd + Space
Edit Selected CodeCtrl + ICmd + I
Generate from SelectionCtrl + Shift + EnterCmd + Shift + Enter
Quick Chat (Cursor)Ctrl + Shift + LCmd + Shift + L
Stop AI GenerationCtrl + CCmd + C
Toggle Terminal AICtrl + ` + CtrlCmd + ` + Cmd

VS Code Shortcuts That Still Work

Cursor is built on VS Code, so all your favorite VS Code shortcuts work too:

ActionShortcut
Command PaletteCtrl + Shift + P
Quick Open FileCtrl + P
Find & ReplaceCtrl + H
Multi-cursorCtrl + D
Toggle SidebarCtrl + B

Pro Tips for Cursor

  • Ctrl+K is magic: Select code, press Ctrl+K, describe what you want. AI edits it instantly. No chat needed.
  • Tab is your friend: Cursor predicts what you want next. Just press Tab to accept — faster than typing.
  • Context is key: The more code you select before using AI, the better the results. Highlighting matters.

Related Pages