Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

Cmd-1..n are handy for changing and focusing the different navigator tabs so I don't have to take my fingers off the keyboard, but is there a shortcut for giving the focus back to the editor after focusing, say, the Project navigator with Cmd-1?

share|improve this question
up vote 5 down vote accepted

Aw crud, there are all sorts of "move focus to" commands in the Navigate menu that I somehow missed earlier... The combo for "Move Focus to Editor..." is Cmd-J, for example.

share|improve this answer
Cool. Good find! – David Metcalfe Jun 8 '11 at 17:03

I don't have X-Code 4 installed, but Command + ~ will cycle through windows inside an application. So long as it qualifies as a window, I imagine that'd be what you need.

share|improve this answer
Sadly does nothing. Maybe it's a different combo when using a Finnish layout. – Ilkka Jun 6 '11 at 12:19
I'd play around with Command+Option+~ etc. The tilde on a Finnish keyboard is opposite the standard US English one, and it appears to need a modifier to access. – David Metcalfe Jun 6 '11 at 16:53
This was pretty simple in the end, posted an answer. – Ilkka Jun 7 '11 at 11:37
Xcode 4 only has one window (by default), so Cmd-` wouldn't have done anything. – Matthew Frederick Jun 7 '11 at 11:55

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.