Navigate directionally between views

Hey, I've recently switched to WebStorm from VSCode/Vim, and I'm wondering how I can use the keyboard to navigate directionally between splits.  I can already map `<C-h>` to `<C-w>h` in my `.ideavimrc`, but unfortunately this only works in editor splits.  In VSCode I have things like `"workbench.action.navigateLeft"` that lets me navigate between any views, regardless if they're editors or not.  For example, I can press `<C-h>` to go to the File Tree from the editor, and press `<C-l>` to go back.   What I'd like to be able to do, is, for example, go from the editor (in the middle) to the hierarchy view (on the right) by pressing `<C-h>`.  Is there any way in WebStorm, whether it's through ideavim configs or WebStorm settings, to do this?

0
2 comments

Currently IdeaVim plugin emulates Vim commands for the editor window only (https://youtrack.jetbrains.com/issue/VIM-1042).

there are no universal hotkeys to navigate between any views; you can jump to the active tool window with F12 (https://www.jetbrains.com/help/webstorm/2019.3/tool-windows.html#accessing-tool-windows-menus) and use the dedicated shortcuts to navigate to the certain tool window (https://www.jetbrains.com/help/webstorm/2019.3/manipulating-the-tool-windows.html#show)

To jump back to editor from any tool window, hit Escape

1
Avatar
Permanently deleted user

Elena Pogorelova thank you.  I guess VSCode has the advantage of being Electron in this case—being able to have more modular views, and keep all views on the same level

 

0

Please sign in to leave a comment.