Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 shortcut for swapping focus between editor and assistant editor

Tags:

xcode

xcode4

In Xcode, I am big fan of the assitant editor that shows me the corresponding .h or .m for the file that I am editing.

Is there a shortcut that allows me to swap focus between this two windows? I frequently switch between the two and using the mouse every time is annoying.

like image 276
Alec Gorge Avatar asked Dec 21 '11 21:12

Alec Gorge


2 Answers

New answer:

Move Focus To Editorcommandj followed by /// and return

This goes nicely together with commandshiftj which is Reveal in Project Navigator.

Old answer:

Use optioncommand` keyboard shortcut.

It can be remapped in Preferences - Keyboard Bindings - Move Focus To Next Area.

Edit: Removed XVim recommendation.

like image 51
Rudolf Adamkovič Avatar answered Oct 17 '22 21:10

Rudolf Adamkovič


I made this to help answer another question... Does it help?

XCode shortcuts

like image 34
Robert Avatar answered Oct 17 '22 19:10

Robert