Redo previous command in macOS
EssentialsMacShift+Cmd+Z⇧⌘Z
On Mac, press Shift + Cmd + Z.
Ask your agent
Prompt
In macOS, the shortcut to "Redo previous command" is Shift+Cmd+Z on Mac. Check whether anything in my setup overrides it, and if I want a different key, change the binding for me.
Paste into Claude Code and it will do the rest.
Related macOS shortcuts
- Undo previous commandCmd+Z⌘Z
- Cut selected itemCmd+X⌘X
- Copy selected itemCmd+C⌘C
- Paste from clipboardCmd+V⌘V
- Select all itemsCmd+A⌘A
- Find items in documentCmd+F⌘F
- Save current documentCmd+S⌘S
- Print current documentCmd+P⌘P
Questions
On Mac, press Shift + Cmd + Z.