Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

In Snow Leopard and prior, when clsoing a window with unsaved changes, the system would suggest to either save, cancel or discard the changes from keyboard shortcuts. You could:

  • save return
  • cancel +.
  • discard the changes +D.

The Lion save dialog that gets summoned instead of the "Would you like to save?" dialog works differently:

+. and return still work1, but +D has no effect.

Is there a new keyboard shortcut to discard?

1. I'm not in front of my Mac right now; IIRC they work, but maybe I'm wrong.

share|improve this question
    
⌘D actually DOES have an effect; it sets the save destination to the Desktop, as it always has in open/save file dialogs. –  75th Trombone Aug 30 '11 at 3:02
add comment

3 Answers

up vote 13 down vote accepted

+

Pressing Command-Delete (or perhaps more commonly known as backspace) also does the same trick.

That's all there is to it!

share|improve this answer
    
Thanks, I'll be tryig that when I get home! –  zneak Aug 29 '11 at 17:14
add comment

It depends on the application. For example, in Powerpoint 2011 ⌘D still works, ⌘⌫ does nothing in the dialog.

I guess it's personal preference, I like to use Space (or Tab until Don't Save is in focus, Space) for this action.

share|improve this answer
add comment

In Terminal.app, you can change this back to the old behaviour using

defaults write NSGlobalDomain NSSavePanelStandardDesktopShortcutOnly -bool YES

To revert to the default behaviour, set

defaults write NSGlobalDomain NSSavePanelStandardDesktopShortcutOnly -bool NO
share|improve this answer
1  
It's not a bug, it's a feature! –  bmike Aug 29 '11 at 15:52
    
Thanks for this, I'm not quite used to the new way. When doing this, does Cmd-Delete do anything? –  Gauzy Aug 29 '11 at 16:34
    
cmd-delete also works when this is in place. best of both worlds. –  nevan king Aug 29 '11 at 20:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.