Cursor Keyboard Shortcuts Guide
#ai-coding-assistant
#cursor
#coding-agents
#keyboard-shortcuts
Cursor is an AI-powered IDE (integrated development environment) designed to make coding faster, smarter and more intuitive for developers. It builds on the popular Visual Studio Code platform but integrates artificial intelligence deeply into your workflow. This means Cursor not only provides standard editing tools, but also offers advanced features like:
- AI-assisted code generation from natural language instructions
- Context-aware recommendations based on your full codebase
- Easy access to answers, code explanations and refactoring help
- Smart autocompletion and predictive editing
Cursor can understand your entire project structure, helping you ask questions like “where is this function used?” and get relevant answers without manually searching through files.
In simple terms: Cursor lets you write, modify and understand code faster by combining an intelligent editor with built-in AI assistance
Why Keyboard Shortcuts Matter in Cursor
Keyboard shortcuts allow you to perform common actions without using the mouse. This may seem simple, but in practice, it has huge benefits:
1. Faster Coding
Shortcuts help you do things instantly open panels, accept suggestions, jump between files, comment code, generate new code all with key combinations instead of menus. This saves time every single day.
2. Improved Focus
Coding with the keyboard keeps your hands on the keys and your brain in flow state. You don’t break concentration by shifting your focus to the mouse or toolbar.
3. Better AI Integration
Cursor’s AI features like chat prompts, multi-line suggestions, context queries and natural language edits are all designed to be triggered and accepted via shortcuts. The result: smooth, fast AI-assisted coding without interrupting your workflow.
4. Customized Experience
Since Cursor supports remapping all of its keybindings (including its own AI actions and traditional VS Code shortcuts), you can tailor shortcuts to your own habits or workflow.
Keyboard Shortcuts
Cursor provides a powerful set of keyboard shortcuts that help you work faster and write code more efficiently. You can view all available shortcuts by
pressing Ctrl + R, followed by Ctrl + S or by opening the Command Palette using Ctrl + Shift + P and searching for Keyboard Shortcuts.
Cursor’s shortcut system is built on top of VS Code key bindings, making it familiar and easy to use for developers who already work with VS Code. In addition, Cursor includes its own AI-specific shortcuts designed to boost productivity.
All keyboard shortcuts, including Cursor-exclusive features, can be fully customized from the Keyboard Shortcuts settings, allowing you to tailor the editor to your workflow.
General Keyboard Shortcuts
The general keyboard shortcuts in Cursor are designed to give you instant control over the editor without interrupting your coding flow. These shortcuts allow you to quickly switch layouts, access AI modes, open settings and navigate core features—helping you stay focused on writing and understanding code rather than clicking through menus.
With a single key combination, you can toggle the side panel, switch between AI models, open the command palette or enable voice mode. This not only saves time but also improves productivity, especially when working on large projects or multitasking across different development tasks.
| Shortcut | Action |
|---|---|
| Ctrl + I | Toggle Sidepanel (unless bound to mode) |
| Ctrl + L | Toggle Sidepanel (unless bound to mode) |
| Ctrl + E | Toggle Agent layout |
| Ctrl + . | Mode Menu |
| Ctrl + / | Loop between AI models |
| Ctrl + Shift + J | Cursor settings |
| Ctrl + Shift + Space | Toggle Voice Mode |
| Ctrl + , | General settings |
| Ctrl + Shift + P | Command palette |
Chat Keyboard Shortcuts in Cursor
Chat keyboard shortcuts in Cursor are built to make conversations with AI faster, smoother and more efficient. Instead of relying on the mouse, these shortcuts let you send messages, manage AI responses, switch models and navigate between chats instantly all while keeping your hands on the keyboard.
Whether you’re asking questions, reviewing generated code, applying suggested changes or switching agent modes, these shortcuts help maintain a seamless workflow. They are especially useful when working with long conversations, debugging sessions or rapid back-and-forth interactions with AI.
By mastering chat shortcuts, you can communicate more effectively with Cursor’s AI, reduce friction during development and focus entirely on solving problems instead of managing the interface.
| Shortcut | Action |
|---|---|
| Enter | Nudge (default) |
| Ctrl + Enter | Queue message |
| Ctrl + Enter (when typing) | Force send message |
| Ctrl + Shift + Backspace | Cancel generation |
| Ctrl + Shift + L (with code selected) | Add selected code as context |
| Ctrl + V (with code or log in clipboard) | Add clipboard as context |
| Ctrl + Shift + V (with code or log in clipboard) | Add clipboard to input box |
| Ctrl + Enter (with suggested changes) | Accept all changes |
| Ctrl + Backspace | Reject all changes |
| Tab | Cycle to next message |
| Shift + Tab | Rotate between Agent modes |
| Ctrl + Alt + / | Model toggle |
| Ctrl + N / Ctrl + R | New chat |
| Ctrl + T | New chat tab |
| Ctrl + [ | Previous chat |
| Ctrl + ] | Next chat |
| Ctrl + W | Close chat |
| Esc | Unfocus field |
Inline Edit Keyboard Shortcuts in Cursor
Inline Edit shortcuts in Cursor allow you to modify code directly within the editor without breaking your flow. Instead of opening separate panels or switching contexts, these shortcuts enable fast, focused code edits exactly where your cursor is placed. This makes them ideal for quick fixes, refactoring, explanations and AI-assisted improvements.
By using Inline Edit, you can ask targeted questions, submit changes instantly or cancel suggestions without interrupting your coding rhythm. These shortcuts are especially helpful when working on complex files, reviewing AI-generated code or making rapid adjustments during development.
| Shortcut | Action |
|---|---|
| Ctrl + K | Open Inline Edit |
| Ctrl + Shift + K | Toggle input focus |
| Enter | Submit |
| Ctrl + Shift + Backspace | Cancel |
| Alt + Enter | Ask quick question |
Code Selection & Context Shortcuts in Cursor
Code Selection & Context shortcuts in Cursor make it easy to share the right code with AI at the right time. Instead of manually pasting files or explaining context, these shortcuts let you instantly reference selected code add it to chats or inline edits and control how Cursor reads and understands your files.
These shortcuts are especially powerful when debugging, reviewing complex logic or asking AI for improvements. By precisely controlling context, you ensure more accurate responses, better suggestions and faster problem-solving without breaking your development flow.
| Shortcut | Action |
|---|---|
| @ | @-mentions |
| / | Shortcut commands |
| Ctrl + Shift + L | Add selection to Chat |
| Ctrl + Shift + K | Add selection to Edit |
| Ctrl + L | Add selection to new chat |
| Ctrl + M | Toggle file reading strategies |
| Ctrl + Arrow Right | Accept next word of suggestion |
| Ctrl + Enter | Search codebase in chat |
| Select code + Ctrl + C, then Ctrl + V | Add copied reference code as context |
| Select code + Ctrl + C, then Ctrl + Shift + V | Add copied code as text context |
Tab Keyboard Shortcuts in Cursor
Tab shortcuts in Cursor are designed to help you accept AI code suggestions quickly and with precision. Instead of accepting an entire suggestion at once, these shortcuts give you full control allowing you to approve code either completely or one word at a time.
This approach is especially useful when reviewing AI-generated code, writing complex logic or learning new patterns. You stay in control of the final output while still benefiting from Cursor’s intelligent suggestions.
| Shortcut | Action |
|---|---|
| Tab | Accept suggestion |
| Ctrl + Arrow Right | Accept next word |
Terminal Keyboard Shortcuts in Cursor
Terminal shortcuts in Cursor allow you to interact with the command line faster and more confidently without breaking your development flow. These shortcuts are especially useful when running AI-generated commands, executing scripts or quickly accessing the terminal prompt while staying inside the editor.
| Shortcut | Action |
|---|---|
| Ctrl + K | Open terminal prompt bar |
| Ctrl + Enter | Run generated command |
| Esc | Accept command |
By relying on keyboard shortcuts instead of manual typing or mouse clicks, you can reduce errors, speed up command execution and maintain a smooth, distraction free workflow.
Conclusion
Keyboard shortcuts in Cursor are more than just time-saving tools. They are essential for building a faster, smarter and more focused development workflow. From chat interactions and inline edits to code selection, AI suggestions and terminal commands, shortcuts allow you to control every part of the editor without breaking concentration.
By adopting a keyboard-first approach, you reduce unnecessary clicks, minimize context switching and make better use of Cursor’s powerful AI features. Whether you’re accepting suggestions word by word, sharing precise code context or executing terminal commands, these shortcuts help you work with confidence and efficiency.
Spending a little time learning and customizing Cursor’s keyboard shortcuts can significantly improve productivity in the long run. Once they become part of your daily workflow, coding feels smoother, faster and far more enjoyable.
