Keyboard Shortcut: Focus on Editor

This has got to be an easy one.

I can hit Cmd+1 to place focus on the Project tool window, hit it again makes the tool window close, then open, etc.
Cmd+7 for the Structure tool window acts the same way.

These are great, but how can I place focus back in the editor without using my mouse?

5
10 comments

Hi Max,

Just press "Esc"

29

or ctrl+shift+tab if you want to go to a specific file in the editor or round to one of the other panels.

0

The ESC solution is broken for the Terminal.

7

I think we are missing the point. This request is for a shortcut to focus on the editor. I can use the escape but I want to bind a custom shortcut to it. 

2
Avatar
Permanently deleted user

@Andybergon Please go to Settings | Tools | Terminal and disable "Override IDE shortcuts" option - it will help to navigate from Terminal to editor.

@Kevin M Ashton Please vote for https://youtrack.jetbrains.com/issue/IDEA-116865 with thumb up button to move it up in the queue and receive notifications on further progress changes.

0

@Vladimir I have `Override IDE shortcuts` disabled. The problem is that this makes Esc+B/F don't work for moving through words in the Terminal.

0
Avatar
Permanently deleted user

This is not an ideal solution, but it may help others to set the Terminal to "Windowed Mode" to allow for native OS navigation between the Editor and Terminal e.g. Alt+Tab.

https://www.jetbrains.com/help/phpstorm/viewing-modes.html#windowed

0
Avatar
Permanently deleted user

From the terminal you can do Cmd+1 to get to the project view, then ESC

4

In intelliJ 2019.3 you can now "Rebind the action that returns focus to the editor to a new shortcut".

 

https://blog.jetbrains.com/idea/2019/09/whats-new-in-intellij-idea-2019-3-eap3/

3

If escape is bound to Focus Editor and pressing escape is not working then I use ctrl+tab to quickly focus the editor.

0

Please sign in to leave a comment.