What Keyboard Shortcut to Redo: A Practical Editor Guide

Learn the primary keyboard shortcuts to redo actions across Windows and macOS, plus app-specific mappings, customization tips, and troubleshooting for common redo issues.

Shortcuts Lib
Shortcuts Lib Team
·5 min read
Quick AnswerDefinition

Redo is the action that re-applies the most recent change you previously undid. In a fast editing workflow, the ability to redo without lifting your hands from the keyboard keeps momentum and reduces cognitive load. According to Shortcuts Lib, the redo shortcut is not universal: different apps and platforms prefer distinct mappings. Windows conventions often favor the Y-based shortcuts like Ctrl+Y or Ctrl+Shift+Z, while macOS tends to rely on Z-based combos such as Cmd+Shift+Z or Cmd+Y. In practice, you’ll encounter several variants depending on the tool you use. The best practice is to learn the defaults for your primary tools and memorize the single-step option shown in menus. This reduces context switching during coding, document editing, or design tasks, helping you recover from mistakes with minimal disruption. After you grasp the basics, you can normalize redo across your toolkit, speeding up their workflow across projects.

What is the redo shortcut and why it matters

Redo is the action that re-applies the most recent change you previously undid. In a fast editing workflow, the ability to redo without lifting your hands from the keyboard keeps momentum and reduces cognitive load. According to Shortcuts Lib, the redo shortcut is not universal: different apps and platforms prefer distinct mappings. Windows conventions often favor the Y-based shortcuts like Ctrl+Y or Ctrl+Shift+Z, while macOS tends to rely on Z-based combos such as Cmd+Shift+Z or Cmd+Y. In practice, you’ll encounter several variants depending on the tool you use. The best practice is to learn the defaults for your primary tools and memorize the single-step option shown in menus. This reduces context switching during coding, document editing, or design tasks, helping you recover from mistakes with minimal disruption. After you grasp the basics, you can normalize redo across your toolkit, speeding up their workflow across projects.

JSON
{ "windows": ["Ctrl+Y", "Ctrl+Shift+Z"], "macos": ["Cmd+Shift+Z", "Cmd+Y"] }
JavaScript
// Quick helper to detect platform and suggest a redo shortcut function suggestedRedoShortcut(isMac) { return isMac ? ["Cmd+Shift+Z", "Cmd+Y"] : ["Ctrl+Y", "Ctrl+Shift+Z"]; }

Common redo shortcuts across platforms

Across Windows, macOS, and popular apps, redo shortcuts can differ, but there are clear patterns. Shortcuts Lib analysis shows a strong preference for Y-based mappings on Windows (Ctrl+Y or Ctrl+Shift+Z) and Z-based mappings on macOS (Cmd+Shift+Z or Cmd+Y). In browsers and many text fields, behavior can vary by focus and app, so it’s worth checking the exact binding in that program’s help section. For quick reference, here are typical configurations you’ll encounter in editors and productivity apps: Windows: Ctrl+Y or Ctrl+Shift+Z; macOS: Cmd+Shift+Z or Cmd+Y. If you rely on a single workflow, consider customizing to a single variant in a single app, then propagate that mapping to others. Consistency reduces mistakes when you’re juggling multiple tools.

JSON
{ "context": "typical editors", "windows": "Ctrl+Y or Ctrl+Shift+Z", "macos": "Cmd+Shift+Z or Cmd+Y" }
JSON
{ "context": "browsers/text fields", "windows": "Ctrl+Y / Ctrl+Shift+Z", "macos": "Cmd+Shift+Z / Cmd+Y" }

Shortcuts Lib analysis shows that many teams prefer a single mapping across tools to minimize cognitive load once onboarding completes. This reduces mistakes during rapid editing sessions and helps you stay focused on the task rather than the keyboard.

The redo command is implemented differently per app, so knowing the general rule helps you avoid surprises when switching tools. In code editors like VS Code or Sublime Text, the redo action is triggered by the redo command and is bound to Ctrl+Y on Windows and Cmd+Shift+Z on macOS by default. The VS Code keybindings.json example below shows how you can map redo explicitly:

JSON
// VS Code redo binding (Windows) { "key": "ctrl+y", "command": "redo", "when": "editorTextFocus" }

On macOS:

JSON
// VS Code redo binding (Mac) { "key": "cmd+shift+z", "command": "redo", "when": "editorTextFocus" }

Word processors like Microsoft Word often share Ctrl+Y on Windows and either Cmd+Shift+Z or Cmd+Y on Mac. Photoshop and other design tools typically use Ctrl+Shift+Z (Windows) or Cmd+Shift+Z (Mac). This variety highlights the importance of checking per-app docs, as the exact keys can differ between environments and versions.

How to customize redo shortcuts

If you want a consistent redo experience, many apps let you customize shortcuts. In Visual Studio Code, you can edit your keybindings.json to set a single redo mapping across editors:

JSON
[ { "key": "ctrl+shift+u", "command": "redo", "when": "editorTextFocus" } ]

On macOS, you might prefer Cmd+Y or Cmd+Shift+Y; you can define a separate mapping in the same file:

JSON
[ { "key": "cmd+Y", "command": "redo", "when": "editorTextFocus" } ]

Beyond code editors, desktop apps typically expose these options in Preferences > Keyboard Shortcuts. If a conflict arises, you can reassign the conflicting action and export your settings for team consistency. Shortcuts Lib recommends documenting any changes and keeping a small cheatsheet for quick reference in your workflow.

Troubleshooting redo not working

When redo fails, start by verifying focus and context. Ensure the editor or app has focus and you’re in a state that supports redo; some tools disable redo in read-only views. Check for conflicting shortcuts that steal the keys you expect; you can inspect keybindings in the app settings and reassign as needed. If the problem persists, reset to default bindings or export a fresh configuration. Finally, test the redo command in a simple scenario to confirm the key combination itself works, then progressively reintroduce it into real tasks.

Steps

Estimated time: 15-25 minutes

  1. 1

    Identify the target action you want to redo

    Open the app and locate the undo history for the current task. This ensures you know what will be redone and avoids applying unintended changes.

    Tip: Use the editor's UI to verify the last undone action before redoing.
  2. 2

    Try the platform-default shortcuts first

    Attempt the standard Windows and macOS redo combinations to minimize friction. If the first attempt doesn't work, try the alternate mapping.

    Tip: Remember to focus the correct window or editor before triggering the shortcut.
  3. 3

    Consult app-specific shortcuts

    Many apps publish their redo shortcut in menus or help docs. Use the app's keyboard shortcut reference to confirm the correct keys.

    Tip: If in doubt, search 'redo shortcut' within the app's help section.
  4. 4

    Consider customizing for consistency

    If you redo frequently, set up a consistent mapping across your most-used tools to avoid context switches.

    Tip: Back up your keybindings before changing defaults.
  5. 5

    Test and document your mapping

    After setting a new shortcut, test it on simple tasks and note the exact keys for future reference.

    Tip: Create a quick cheatsheet for your toolkit.
Pro Tip: Choose a single redo mapping per app and stick to it across workflows.
Warning: Avoid conflicting shortcuts that steal keys from other actions (e.g., save or copy).
Note: In some apps, redo is context-sensitive and requires the editor to be in focus.
Pro Tip: Document custom mappings so teammates stay aligned.

Prerequisites

Required

  • Windows 10/11 or macOS 12+ depending on your primary environment
    Required
  • A keyboard with standard Ctrl/Win or Cmd modifier keys
    Required
  • Access to at least one app with redo support (e.g., VS Code, Word, Photoshop)
    Required

Optional

  • Basic knowledge of keyboard shortcuts and how to view app help or preferences
    Optional

Keyboard Shortcuts

ActionShortcut
Redo (default in editors)Common in editors like VS Code, Sublime Text, WordCtrl+Y
Alternate redo (undo integration)Another common mapping in many appsCtrl++Z
Redo in browsers/edit fieldsText fields and some web apps may varyCtrl+Y / Ctrl++Z

Questions & Answers

What is the standard redo shortcut on Windows and macOS?

The standard Windows redo is Ctrl+Y or Ctrl+Shift+Z; on macOS, Cmd+Shift+Z or Cmd+Y are common. Always verify in your app's keyboard preferences.

On Windows, most apps use Ctrl+Y or Ctrl+Shift+Z for redo, while macOS typically uses Cmd+Shift+Z or Cmd+Y. Check your app's shortcuts to be sure.

How do I redo in VS Code?

In VS Code, redo is bound to the redo command and can be invoked with Ctrl+Y or Cmd+Shift+Z, depending on the OS. You can also customize in keybindings.json.

In VS Code, use the redo command with Ctrl+Y on Windows or Cmd+Shift+Z on Mac.

What if redo doesn't work?

Check that the editor has focus, confirm no conflicting shortcuts, and review the app's keybindings. Some apps require specific contexts to enable redo.

If redo fails, make sure the app is focused and there are no conflicting shortcuts; check the keybindings for your tool.

Can I customize redo shortcuts across apps?

Yes. Many apps let you map redo to a preferred key combo via settings or keybindings.json. Back up your changes.

Absolutely—most apps let you customize redo shortcuts in settings; back up your changes.

Why do some apps use Cmd+Y instead of Cmd+Shift+Z?

Different apps adopt different conventions. Some use Cmd+Y for redo, others Cmd+Shift+Z to align with undo symmetry. Always check per-app docs.

Different apps pick different redo mappings; always check the app's help docs.

Main Points

  • Know the primary redo shortcuts for Windows and macOS
  • Check app-specific mappings in help or preferences
  • Consider binding a consistent redo across tools

Related Articles