| Shortcut | Description |
|---|---|
Esc |
Close dialogs and suggestions |
Ctrl+C |
Cancel ongoing request and clear input. Press twice to exit. |
Ctrl+D |
Exit if input is empty. Press twice to confirm. |
Ctrl+L |
Clear the screen |
Ctrl+O |
Toggle debug console |
Ctrl+S |
Disable output truncation for long responses |
Ctrl+T |
Toggle tool descriptions |
Shift+Tab (Tab on Windows) |
Cycle approval modes: plan → default → auto-edit → yolo |
| Shortcut | Description |
|---|---|
Enter |
Submit prompt |
\ + Enter (at end of line) |
Insert a newline |
Up Arrow / Ctrl+P |
Navigate input history up |
Down Arrow / Ctrl+N |
Navigate input history down |
Ctrl+R |
Reverse search through history |
Tab |
Accept current autocomplete suggestion |
! (empty input) |
Toggle shell mode |
? (empty input) |
Toggle keyboard shortcuts display |
Ctrl+A / Home |
Move cursor to beginning of line |
Ctrl+E / End |
Move cursor to end of line |
Ctrl+B / ← |
Move cursor left one character |
Ctrl+F / → |
Move cursor right one character |
Ctrl+Left / Meta+B |
Move cursor left one word |
Ctrl+Right / Meta+F |
Move cursor right one word |
Ctrl+H / Backspace |
Delete character to left |
Ctrl+D / Delete |
Delete character to right |
Ctrl+W / Meta+Backspace |
Delete word to left |
Meta+Delete / Ctrl+Delete |
Delete word to right |
Ctrl+K |
Delete to end of line |
Ctrl+U |
Delete to beginning of line |
Ctrl+V (Windows: Alt+V) |
Paste clipboard (image pastes insert a file reference) |
Ctrl+X / Meta+Enter |
Open input in external editor |
Ctrl+Y |
Retry last failed request |
Ctrl+Z / Ctrl+Shift+Z |
Undo / redo input |
Esc (double) |
Clear input prompt |
| Shortcut | Description |
|---|---|
Up Arrow |
Navigate suggestions up |
Down Arrow |
Navigate suggestions down |
Tab / Enter |
Accept selected suggestion |
| Shortcut | Description |
|---|---|
Up Arrow / k |
Move selection up |
Down Arrow / j |
Move selection down |
Enter |
Confirm selection |
1–9 |
Select item by number |
| Shortcut | Description |
|---|---|
Ctrl+G |
View context received from the IDE |