Shippable Studio

All Cursor shortcuts guide: Composer, AI Pane, and more

Cursor enables developers to code with greater speed and efficiency. But what if you could accelerate your workflow even further?

Cursor provides a variety of shortcuts capable of significantly boosting your productivity. Let's review the essential shortcuts you need to master.

  1. Cursor Composer shortcuts
  2. AI Pane shortcuts
  3. Inline editing shortcuts
  4. Cursor Settings shortcuts
  5. Conclusion

Cursor Composer shortcuts

Cursor Composer allows you to edit multiple files simultaneously or generate entire applications. Use the following keyboard shortcuts to open it:

Composer in floating window

  • Open Cursor Composer in a floating window: CMD + I (MacOS) or CTRL + I (Windows)
  • Open Cursor Composer in full-screen mode: CMD + SHIFT + I (MacOS) or CTRL + SHIFT + I (Windows)

Full-screen Composer

Within Composer, you can reference files by typing @filename or add files to the specific Composer context by typing #filename (use CMD + P / CTRL + P to select multiple files at once).

AI Pane shortcuts

The AI Pane offers another interface for interacting with Cursor, allowing you to ask questions about your codebase and receive suggestions. To open it, use CMD + L (MacOS) or CTRL + L (Windows).

AI Pane window

Alternatively, you can open the AI Pane by selecting text in your code and pressing CMD + SHIFT + L (MacOS) or CTRL + SHIFT + L (Windows). This automatically includes the selected text in the AI Pane's context.

Once inside, use the @filename shortcut to mention a file, and press CMD + Enter or CTRL + Enter to attach your entire codebase when sending a query.

Inline editing shortcuts

Inline editing

Cursor helps you edit your code directly with AI assistance. Simply highlight a section of code and press CMD + K (MacOS) or CTRL + K (Windows).

To exit inline editing mode, press ESC.

Cursor Settings shortcuts

To access Cursor Settings, press CMD + SHIFT + J (MacOS) or CTRL + SHIFT + J (Windows).

Settings > General > Editor > Configure keyboard shortcuts

In the settings menu, you can customize the default keyboard shortcuts. Navigate to General > Editor > Configure keyboard shortcuts to make changes.

Conclusion

For a complete and current list, refer to the Cursor Keyboard Shortcuts documentation. You can also press ⌘R followed by ⌘S, or open the command palette with ⌘⇧P and search for "Keyboard Shortcuts".

To maximize the benefits of Cursor's shortcuts:

  1. Practice them regularly to build muscle memory.
  2. Customize shortcuts in Cursor Settings to fit your workflow.
  3. Experiment with combining shortcuts for even greater speed.

The more you utilize them, the faster you will become at building projects with Cursor.