Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The default behavior for Command-Tab is to open all windows of the application that you select. Is there a way to only go to the most recent window?

For example, let's say I have a text editor open, and several instances of Terminal. The text editor is the active window currently, and takes up the full screen. I want to switch to the window of Terminal that I most recently used, and have my text editor keep the rest of my screen space. If I just Command-Tab, however, I end up with all of my Terminal windows showing up and completely obscuring my text editor.

The only way I have figured out to get to the point where I want is to drag the Terminal window that I care about off to the side of my text editor, and click it while the text editor is active. This is an incredible hassle though, so I'm looking for a more efficient way to pull this off.

Any thoughts?

share|improve this question

1 Answer 1

You can for sure, but it entails some sacrifice... like the Function keys on the F1~F12 row. :)

Under System Preferences > Keyboard

First, disable function keys acting as system control shortcuts.

Disable Function Keys as shorcuts

Next go to the Keyboard Shortcuts tab, select "Keyboard and Screen Input". Check the "Move focus to active or next window" option, which by default uses CTRL-F4 as the keyboard shortcut, and is changeable (info thanks to Daniel Beck!)

Move focus to active or next window with CTRL-F4

Voila! Use CTRL-F4 to tab to the next window without showing the rest. I hardly use the shortcut keys anyway so this is my default setup for fast window(not application) switching.

share|improve this answer
    
You actually can change these entries' key combinations. Example. –  Daniel Beck Apr 19 '12 at 5:22
    
Oh you are right! Tried double clicking on the box but it didn't register, thus I assumed it was unchangeable. Thanks for the added info. –  caliban Apr 19 '12 at 5:38
    
The default actually appears to be Control-fn-F4, which works fine even with the shortcut keys still enabled. Thanks! –  numegil Apr 19 '12 at 6:30

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.