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.

As a long time Windows users I'm used to switch between two windows using keyboard. Now at Mac I just can't figure out how to do that!

Command-Tab works nicely between apps, but how to do the same within one application having several windows open? Especially when using XCode? For example within Firefox you can do control-tab and control-shift-tab to navigate between tabs. Doesn't work with XCode, not between two different open projects.

Doing 4-fingers-down, looking at screen, finding the previous window and clicking on it with mouse takes waaaay too long time. It interrupts whatever I was doing, distracts from whatever I was thinking about and starts annoying me - enough to write this desperate call for help in StackOverflow :)

There's got to be a secret handsha... keyboard combination!

share|improve this question

migrated from stackoverflow.com Nov 19 '09 at 8:45

This question came from our site for professional and enthusiast programmers.

1  
The answers as given, Command-` are correct for most, if not all, keyboard layouts. (You can also use that to go backwards in the application switcher, after you hit Command-Tab.) I wonder if layouts that have no ` have a different shortcut like, for what I've heard, the Apple-French layout -- store.apple.com/ca/product/MB110C/A –  Arjan Nov 19 '09 at 9:37
add comment

4 Answers

Command-Tab works nicely between apps, but how to do the same within one application having several windows open?

I was also a bit annoyed at this, until I found the "Move focus to the next window in application" keyboard shortcut option (under System Preferences -> Keyboard -> Keyboard Shortcuts -> Keyboard & Text Input).

I set it to Cmd-§ (⌘§) myself (which is close to Cmd-Tab and I couldn't think of anything better). Shift-Cmd-§ cycles in the opposite direction. It's not ideal, but sort of tolerable for me, although I'd still prefer Cmd-Tab toggling between all windows.

There are also 3rd party utilities that improve OS X's window switching capabilities; check out Witch for instance. I haven't tried these myself though.

share|improve this answer
    
Oh, I totally missed that the q was posted 3 months ago. Oh well. –  Jonik Feb 19 '10 at 19:39
add comment

try "cmd" + "<" within xcode. It works with my keyboard - KK

share|improve this answer
add comment

Before this is moved to superuser, the shortcut you're looking for is command-`

share|improve this answer
    
I don't think so, looking for smthng else. In my system that key combination does cycle inside one app windows, but goes only FORWARD. I want especially switch between current and previous window(s). Right now I have 6 open wins in XCode, so that's 5 keys AND knowing how many wins I have open AND counting the presses. If I got to actually look at and select windon, my concentration disappears. Yes, easy to distract! –  user18604 Nov 19 '09 at 10:21
    
Try command-shift-`. –  Rich Bradshaw Feb 19 '10 at 19:34
add comment

When you have to window active (focused), do Command-~.

share|improve this answer
    
Is there any keyboard layout that has the tilde on the lower part of the key? (Like one does not need Shift to type a tilde?) –  Arjan Nov 19 '09 at 9:39
    
Usually default keyboard shortcuts are designed for US layout, you could check that. Might mean you have to type blind or buy extra keyboard with US layout. –  user18604 Nov 19 '09 at 10:24
1  
By Command-~, he means Command-Shift-` I think. –  MJeffryes Nov 19 '09 at 13:35
    
Heh, with this keyboard shift-` is impossible :) It's Command-Shift-´to make Command-`, if that is more clear. Also Command-~ is actually Command-Alt-¨. Guess I'll have to live without (some) shortcuts and just get on with the remaining ones. Thanx anyway! –  user18604 Nov 20 '09 at 11:25
    
Sorry, looks like this system uses (removed) character for text formatting! I was trying to type what Ziggamorph shows above. The latter one. –  user18604 Nov 20 '09 at 11:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.