Skip to content

Keyboard Shortcuts

All TUI keyboard shortcuts in one place.

Press ? in the TUI to toggle the shortcuts overlay at any time.

Shortcut Action
Ctrl+P Open command palette (or cycle thinking variants in the variant picker)
? Toggle keyboard shortcuts overlay
Ctrl+L Scroll to bottom (re-attach auto-scroll)
Ctrl+C Cancel stream / clear input / quit (press twice)
Esc Cancel stream (press twice) / close modal / clear selection
Ctrl+D Delete char forward / quit when input is empty
Ctrl+Home Scroll to top
Ctrl+End Scroll to bottom
Shortcut Action
Enter Submit (or insert newline in multi-line mode)
Alt+Enter Insert newline (multi-line input)
Ctrl+A / Ctrl+E Cursor to start / end of line
Ctrl+F / Ctrl+B Cursor right / left
Ctrl+W Delete word backward
Ctrl+K Delete from cursor to end of line
Ctrl+U Clear entire input
Ctrl+Z Undo
Ctrl+Shift+Z / Ctrl+Y Redo
Ctrl+S Forward search through input history
Alt+Left / Alt+Right Move word left / right
Alt+Backspace Delete word backward
Up / Down Navigate between input lines / history
PageUp / PageDown Scroll chat up / down by 10 lines
Ctrl+R Reverse search through input history
Shortcut Action
Ctrl+Shift+C Copy selected text to clipboard
Ctrl+T Toggle reasoning/thinking block expansion
Ctrl+O Toggle bash output expansion
Ctrl+1 / Ctrl+2 / Ctrl+3 Toggle sidebar sections (context / tools / MCP)
x Cancel most recently started subagent (when input empty)
@ Open file picker for @-mentions
Action Effect
Scroll wheel Scroll chat up/down
Click scrollbar Seek to position
Click + drag Select text (when mouse capture is on)