Claude Code cheat sheet for Mac and Windows
59 shortcuts in 11 lessons for Mac
59 shortcuts in 12 lessons for Windows
Reading a list won't make them stick. ShortcutFoo has you type each shortcut, then brings it back just before you'd forget it.
Claude Code shortcuts for Mac
Essentials I
4 shortcuts- ESCStop Claude mid-response
- ESCESCRewind to an earlier point (empty prompt)
- ^CInterrupt, or clear the prompt
- ⇧TABCycle permission modes (manual, accept edits, plan)
Essentials II
4 shortcuts- ?Show the shortcut help panel (empty prompt)
- UPPrevious prompt from history
- ^D^DExit Claude Code (press twice)
- ^LRedraw the screen
Writing Prompts I
5 shortcuts- /Open the command and skill menu
- !Run a shell command (shell mode)
- @Mention a file
- ^JNew line in the prompt (any terminal)
- \New line with backslash, then Enter
Writing Prompts II
5 shortcuts- ^GWrite the prompt in your text editor
- ^VPaste an image from the clipboard
- ^RSearch prompt history
- ^SStash the prompt, or restore it
- TABAccept an autocomplete suggestion
Slash Commands I
6 shortcuts- /clearStart a new conversation
- /compactSummarize the conversation to free up context
- /rewindRewind the conversation or code
- /resumeResume an earlier conversation
- /modelSwitch the model
- /initCreate a CLAUDE.md guide for the project
Slash Commands II
6 shortcuts- /memoryEdit CLAUDE.md memory files
- /contextSee how full the context is
- /usageShow cost and plan usage
- /permissionsManage tool permission rules
- /configOpen settings
- /mcpManage MCP servers
Models & Tasks I
6 shortcuts- ⌥PSwitch model
- ⌥TToggle extended thinking
- ⌥OToggle fast mode
- ^TShow or hide Claude's task checklist
- ^BSend a running command or agent to the background
- ^OToggle the transcript viewer
Models & Tasks II
5 shortcuts- ^_Undo the last edit to the prompt
- ^X^SSend queued messages now
- ^X^KStop all background agents
- ^X^EOpen the prompt in your editor (readline style)
- ^ZSuspend Claude Code (resume with fg)
Editing the Prompt
6 shortcuts- ^AMove to start of line
- ^EMove to end of line
- ^KDelete to end of line
- ^UDelete to start of line
- ^YPaste the text you just deleted
- ⌥BACKSPACEDelete the previous word
Vim Mode I
6 shortcuts- ESCNormal mode
- IInsert at start of line
- AAppend at end of line
- oOpen a line below
- ddDelete the line
- ciwChange the word under the cursor
Vim Mode II
6 shortcuts- ci"Change text inside quotes
- di(Delete text inside parentheses
- %Jump to matching bracket
- ggGo to the start of the prompt
- uUndo
- .Repeat the last change
Claude Code shortcuts for Windows
Essentials I
4 shortcuts- ESCStop Claude mid-response
- ESCESCRewind to an earlier point (empty prompt)
- ^CInterrupt, or clear the prompt
- ⇧TABCycle permission modes (manual, accept edits, plan)
Essentials II
4 shortcuts- ?Show the shortcut help panel (empty prompt)
- UPPrevious prompt from history
- ^D^DExit Claude Code (press twice)
- ^LRedraw the screen
Writing Prompts I
5 shortcuts- /Open the command and skill menu
- !Run a shell command (shell mode)
- @Mention a file
- ^JNew line in the prompt (any terminal)
- \New line with backslash, then Enter
Writing Prompts II
5 shortcuts- ^GWrite the prompt in your text editor
- ⌥VPaste an image from the clipboard (Alt+V on Windows, Ctrl+V on Linux)
- ^RSearch prompt history
- ^SStash the prompt, or restore it
- TABAccept an autocomplete suggestion
Slash Commands I
6 shortcuts- /clearStart a new conversation
- /compactSummarize the conversation to free up context
- /rewindRewind the conversation or code
- /resumeResume an earlier conversation
- /modelSwitch the model
- /initCreate a CLAUDE.md guide for the project
Slash Commands II
6 shortcuts- /memoryEdit CLAUDE.md memory files
- /contextSee how full the context is
- /usageShow cost and plan usage
- /permissionsManage tool permission rules
- /configOpen settings
- /mcpManage MCP servers
Models & Tasks I
5 shortcuts- ⌥PSwitch model
- ⌥TToggle extended thinking
- ⌥OToggle fast mode
- ^BSend a running command or agent to the background
- ^OToggle the transcript viewer
Models & Tasks II
4 shortcuts- ^_Undo the last edit to the prompt
- ^X^SSend queued messages now
- ^X^KStop all background agents
- ^X^EOpen the prompt in your editor (readline style)
Editing the Prompt I
4 shortcuts- ^AMove to start of line
- ^EMove to end of line
- ^KDelete to end of line
- ^UDelete to start of line
Editing the Prompt II
4 shortcuts- ^YPaste the text you just deleted
- ^BACKSPACEDelete the previous word
- ⌥BMove back one word
- ⌥FMove forward one word
Vim Mode I
6 shortcuts- ESCNormal mode
- IInsert at start of line
- AAppend at end of line
- oOpen a line below
- ddDelete the line
- ciwChange the word under the cursor
Vim Mode II
6 shortcuts- ci"Change text inside quotes
- di(Delete text inside parentheses
- %Jump to matching bracket
- ggGo to the start of the prompt
- uUndo
- .Repeat the last change