

# Using shortcut keys in chat with Amazon Q Developer
<a name="q-in-ides-chat-shortcuts"></a>

Amazon Q provides keyboard shortcuts to help you interact with the agentic chat interface efficiently. Using keyboard shortcuts can help you maintain your workflow without switching between keyboard and mouse.

**Note**  
Keyboard shortcuts are only currently available in the Visual Studio Code IDE.

## Keyboard shortcuts
<a name="keyboard-shortcuts"></a>


**Keyboard shortcuts for Amazon Q chat**  

| Action | Visual Studio Code Shortcut | 
| --- | --- | 
| Run command |  Shift \$1 Cmd \$1 Enter (Mac) Shift \$1 Ctrl \$1 Enter (Windows) Shift \$1 Meta \$1 Enter (Linux)  | 
| Reject command |  Shift \$1 Cmd \$1 R (Mac) Shift \$1 Ctrl \$1 R (Windows) Shift \$1 Meta \$1 R (Linux)  | 
| Stop generation |  Shift \$1 Cmd \$1 Backspace (Mac) Shift \$1 Ctrl \$1 Backspace (Windows) Shift \$1 Meta \$1 Backspace (Linux)  | 

## Customizing keyboard shortcuts
<a name="customizing-keyboard-shortcuts"></a>

Shortcuts can be modified through the standard keyboard shortcut customization interface in your IDE. Amazon Q uses each IDE's native shortcut system, so any changes you make will be reflected in the Amazon Q interface. The shortcuts shown in tooltips and UI elements will automatically update to match your customized key mappings.

## Shortcut discoverability
<a name="shortcut-discoverability"></a>

Amazon Q provides several ways to discover keyboard shortcuts:
+ **Tooltips**: Hover over the Run command button, Reject command button, or Stop button to see the current keyboard shortcut
+ **Settings**: View all shortcuts in your IDE's keyboard shortcut customization interface

## Shortcut behavior
<a name="shortcut-behavior"></a>
+ Keyboard shortcuts for agentic chat are only active when your focus is in the Amazon Q chat panel
+ This prevents conflicts with existing IDE keybindings
+ If you modify a shortcut, you may need to refresh your IDE for the changes to be reflected in tooltips