Super User is a question and answer site for computer enthusiasts and power users. 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

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

Another option for those of you looking for a much faster window switcher, albeit not as feature-rich as something like witch, is contexts:

This is currently my task switcher, as the latency in witch drove me crazy.

share|improve this answer

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

Light switch has this feature(among other features) but it is now discontinued


share|improve this answer

Yes I feel your pain. One of my biggest gripes with OSX. The hacks involving keyboard combos aren't so great so I think you really need to use a utility. I have been using Hyperswitch for some time and it does the trick. By default it'll allow you to switch between open windows using Option-Tab, and keeps Command-Tab the same, but you can always change that. I was also looking at the app Witch but couldn't bear to spend $20 on an alt-tab replacement

1) Free - Hyperswitcb

2) Paid - Witch

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .