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.

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
2  
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
add comment

2 Answers

Off the top of my head:

Downlod KeyRemap4Macbook http://pqrs.org/macosx/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
add comment

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
1  
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
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.