⌘← and ⌘→ hotkey navigation in Claude Code and Codex

You can make ⌘+Left and ⌘+Right hotkeys navigate Claude Code and Codex terminal input to start and end of lines. This post focuses on iTerm2 for macOS but this should work in virtually any terminal supporting keybindings. iTerm2 → Preferences → Profiles → Key Bindings For ⌘+Right: Command Up and Down ⌘↑ and ⌘↓ are… Continue reading ⌘← and ⌘→ hotkey navigation in Claude Code and Codex