AI Chat & Panel in AI

From the Cursor cheat sheet ยท Essential Shortcuts ยท verified Nov 2026

AI Chat & Panel

Access AI features quickly

bash
# Open the Agent panel
Cmd/Ctrl+I         # Toggle the Agent side panel
Cmd/Ctrl+L         # Open the panel; with code selected, add it to a new chat
Cmd/Ctrl+Shift+L   # Add the selection to the current chat

# Chat input
Enter              # Send; queues the message while Agent is working
Cmd/Ctrl+Enter     # Send now and skip the queue
Cmd/Ctrl+Shift+Backspace  # Cancel generation
Shift+Tab          # Rotate between Agent, Ask, Plan and Debug

# Suggested changes
Cmd/Ctrl+Enter     # Accept all changes
Cmd/Ctrl+Shift+Backspace  # Reject all changes

# Navigation
Cmd/Ctrl+N         # New chat
Cmd/Ctrl+T         # New chat tab
Cmd/Ctrl+[         # Previous chat
Cmd/Ctrl+]         # Next chat
Cmd/Ctrl+W         # Close chat
Esc                # Unfocus the input
bash
# Example: fix selected code with Agent
1. Select the problem code
2. Press Cmd/Ctrl+L to open Agent with those lines referenced
3. Type: "Fix the type errors in this function"
4. Press Enter to send
5. Review the edits in the diff view
6. Press Cmd/Ctrl+Enter to accept all changes

# Example: follow up while Agent is busy
Enter              # Queued: runs when the current task finishes
Cmd/Ctrl+Enter     # Sent now: processed right away
๐Ÿ’ก Cmd is the macOS key; use Ctrl on Windows and Linux
โšก Cmd/Ctrl+L with code selected opens Agent with those lines referenced
๐Ÿ” Queued messages run in order when Agent finishes; drag to reorder them
๐Ÿ“Œ Any shortcut can be remapped in Keyboard Shortcuts (Cmd/Ctrl+R then Cmd/Ctrl+S)
chataishortcuts

Continue with Cursor

Save the full cheat sheet or work through every related task.

More AI tasks

Back to the full Cursor cheat sheet