Shift focus away from terminal
CTRL+TAB is great except when Terminal is focused. If you try to CTRL+TAB away from the Terminal Tool Window it just enters a TAB at the prompt.
Have I missed an alternate way of switching focus without the mouse or is this a bug/feature-lack?
Please sign in to leave a comment.
See a couple of tips: http://stackoverflow.com/a/21139544/3020930
Thanks for reply. Only the shortcut for hiding current tool window works from those ideas on OSX. But I really don't want the Terminal hidden, just focus shifted. Perhaps this is a bug on OSX?
ALT+HOME and CMD+UPARROW don't shift to navigation bar from Terminal, despite being shortcuts for it; they work from the editor and other tool panels.
EDIT:
Even CMD+1 is hijacked by Terminal on OSX.
I am not a Mac user, but the next answer in SO thread seems relevant to Mac, did you check it?
Also as mentioned in the same thread, you can record macros and assign shortcut to macros.
Yep, I tried the suggestions there and I am cool to make a macro when I find ANY keyboard shortcut that takes focus away from the Terminal Tool Window.
For me this suggestion works just fine: "For example, I don't normally use the Favorites Tool Window (i.e. not normally visible), so whenever I need to break out of Terminal I simply type ⌥ 2 (twice)"
.
On Windows/Nix, I'm sure that would work on Windows but on OSX ALT+ALPHANUM keys are special characters like accents. So ALT+2 is ™.
But... I just tried CMD+2 and it works, which is weird because CMD+1 (Project Window) doesn't take focus from Terminal, it instead types '1' in terminal.
Anyway, seems like a bug to me in OSX but CMD+2 twice works.
Thanks for the suggestions. Time to macro!
Vote/comment for the issue asking about proper shortcut: http://youtrack.jetbrains.com/issue/IDEA-119666