Skip to content

↑↓ moveEnter openEsc close

Go to the end of the line in Claude Code

Claude Code 2.x · 34 shortcuts · checked Nov 2026 · Source: Anthropic docs

In Claude Code, press Ctrl+E on Mac, Windows, Linux.

What else uses Ctrl+E?

More Claude Code shortcuts: editing the prompt

ActionMacWindowsLinux
Go to the start of the lineCtrlACtrlACtrlA
Back one wordOptionBAltBAltB
Forward one wordOptionFAltFAltF
Delete to the end of the lineCtrlKCtrlKCtrlK
Delete to the start of the lineCtrlUCtrlUCtrlU
Delete the previous wordCtrlWCtrlWCtrlW
Paste the text you deletedCtrlYCtrlYCtrlY
Cycle through earlier deleted textOptionYAltYAltY
Suspend Claude Code to the shellCtrlZ—CtrlZ

All 34 Claude Code shortcuts