Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

One thing I do a lot is Command ⌘-Tab over to TextEdit, jot down some notes, and then decide to throw them away. I can close the window with -W, but is there a way to not-save it from just the keyboard?

Escape simply cancels the close. -D takes the file-picker to the Desktop (and I thought this used to work, pre-Lion, but maybe I'm just imagining it).

Is there a keyboard shortcut for Don't Save, short of turning on Full Keyboard Access?

share|improve this question
1  
It did exist pre-Lion; you aren't imagining it. – CajunLuke Jul 10 '12 at 22:44
up vote 13 down vote accepted

The default shortcut was changed to ⌘⌫ on Lion.

You can change it back to ⌘D with defaults write -g NSSavePanelStandardDesktopShortcutOnly -bool true. It won't affect some applications like TextEdit though.

share|improve this answer
1  
Great! Can I ask how you knew this? – Ken Jul 10 '12 at 16:00
    
It's been mentioned here and on other websites multiple times. – user495470 Jul 10 '12 at 16:10
1  
    
"Command-Delete: Select Delete or Don't Save in a dialog that contains a Delete or Don't Save button" (from the previous link). I just tested ⌘⌫ on OS X Yosemite with Atom and it works too, so it may be generalized to other OS X versions and apps too! – Ricardo Jan 26 at 18:33

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.