Claude Code Cheat Sheet

A comprehensive guide to Claude Code shortcuts and commands to help developers optimize their workflow within Anthropic's CLI tool.
General Controls
CtrlC Cancel input/generation
CtrlD Exit session
CtrlL Clear screen
CtrlO Toggle verbose output
CtrlR Reverse search history
CtrlG Open prompt in editor
CtrlB Background running task
CtrlT Toggle task list
CtrlV Paste image
CtrlF Kill background agents (Ã2)
EscEsc Rewind / undo
Mode Switching
ShiftTab Cycle permission modes
AltP Switch model
AltT Toggle thinking
Input
\Enter Newline (quick)
CtrlJ Newline (control seq)
Prefixes
/ Slash command
! Direct bash
@ File mention + autocomplete
Session Picker
ââ Navigate
ââ Expand/collapse
P Preview
R Rename
/ Search
A All projects
B Current branch
Source: Hacker News












