You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to change Command-Z in Safari to undo text etc, instead of opening the last tab?

For example in web app or spreadsheet, cmd-Z will not undo, but open the last closed tab.


I have been struggling with this for a while! Anyone know?

MacBook Air 13″, macOS 14.1

Posted on Dec 12, 2023 3:18 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 12, 2023 3:30 PM

I figured it out! Put the exact menu name in, then change the shortcut key.


Instructions:

Apple Icon > System Settings > Keyboard > Keyboard shortcuts > App shortcuts


  1. From here click "+" button
  2. Click "all applications" and type "Safari" and select it
  3. Menu title must be: Undo Close Tab (Must be exact with capitals as well)
  4. Keyboard shortcut: Anything you like, but I suggest Option Command Z (⌥⌘Z)
  5. Click Done: Fixed!


Now spreadsheets etc will work


3 replies
Question marked as Top-ranking reply

Dec 12, 2023 3:30 PM in response to SansenJR

I figured it out! Put the exact menu name in, then change the shortcut key.


Instructions:

Apple Icon > System Settings > Keyboard > Keyboard shortcuts > App shortcuts


  1. From here click "+" button
  2. Click "all applications" and type "Safari" and select it
  3. Menu title must be: Undo Close Tab (Must be exact with capitals as well)
  4. Keyboard shortcut: Anything you like, but I suggest Option Command Z (⌥⌘Z)
  5. Click Done: Fixed!


Now spreadsheets etc will work


How to change Command-Z in Safari to undo text etc, instead of opening the last tab?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.