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

On Windows it is something common to close a window by pressing ESC key. I'm looking for a solution that would allow me to close the current Window and the application when I press ESC.

Currently the Preferences panel does not allow you to set a shortcut for ESC.

Use case: you open a file from another application inside a viewer or editor and you want to return to the initial application just by pressing ESC once.

share|improve this question
Most Windows apps don't quit when you hit escape; they usually only close dialog boxes and pop-up panels. This is the same behavior on the Mac. – CajunLuke Mar 17 '11 at 14:13

Off the top of my head:

Downlod KeyRemap4Macbook

See if you can't find a setting for escape, I'm not sure if there is one. Remap it to Command + Q.

share|improve this answer

You can press Command + W for closing the window and Command + Q to quit the applicaiton.

Like Open Word , open two different doc files and then if you wan to close only one file then just select that and press Command + w , only that file will be closed.

Hope this is the solutions for you.

share|improve this answer
I am already aware about common shortcuts, my question was if I can obtain the specified behavior in some way. – sorin Mar 17 '11 at 12:01

Your Answer


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.