Cursor Keyboard Shortcuts Cheat Sheet

Boost your productivity with these essential Cursor keyboard shortcuts and symbols. This cheat sheet covers key commands for Cursor's AI-powered features, including Cursor Tab, Cmd K, Chat, Composer, and @ Symbols.

Cursor Tab (AI Code Completion)

  • Accept Suggestion
    TabTab
  • Reject Suggestion
    EscEsc
  • Partial Accept
    Ctrl + →⌘ + →

Cmd K (Inline Editing)

  • Open Cmd K
    Ctrl + K⌘ + K
  • Apply Changes
    Ctrl + ↵⌘ + ↵
  • Cancel/Delete Changes
    Ctrl + ⌫⌘ + ⌫

Chat Interface

  • Open Chat
    Ctrl + L⌘ + L
  • Add Code to Chat
    Ctrl + L⌘ + L

Composer

  • Open Composer
    Ctrl + I⌘ + I
  • Open Full-screen Composer
    Ctrl + Shift + I⌘ + Shift + I

@ Symbols

  • Reference File
    @filename@filename
  • Reference Function
    @functionName@functionName
  • Reference Variable
    @variableName@variableName
  • Search Codebase
    @codebase query@codebase query
  • Search Web
    @web query@web query

General

  • Open Command Palette
    Ctrl + Shift + P⌘ + Shift + P
  • Open Settings
    Ctrl + ,⌘ + ,
  • Toggle Sidebar
    Ctrl + B⌘ + B
  • Toggle Terminal
    Ctrl + `⌘ + `
  • New File
    Ctrl + N⌘ + N
  • Save File
    Ctrl + S⌘ + S

Remember that you can customize these shortcuts in Cursor's settings to better fit your workflow. Happy coding with Cursor!

For more detailed information on Cursor's features and how to use them effectively, check out our Getting Started guide and Cursor Use Cases.