Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

switch to split screen in IntelliJ (ideaVim)

In Vim I can CTRL+W+H to switch to the split screen, how could one achieve the same in IntelliJ?

Example:

I press :vsplit it opens up a split-screen, now I'd like to switch between those screens.

I found this changelog but the option I'm looking for is not yet implemented.

Someone with another solution for this?

update:

I bruteforced some key combinations and it does change the screen when I press: CTRL+W+L CTRL+W+L

like image 510
AME Avatar asked Sep 07 '15 17:09

AME


People also ask

How do you split a window in WebStorm?

In the editor, right-click the desired tab and select how you want to split the editor window and move the selected file: Split Right, Split and Move Right, Split Down, Split and Move Down. WebStorm creates a split view of the editor and places the file according to your selection.


1 Answers

You can use Ctrl-W + h/j/k/l to navigate splits as in the original Vim. Ctrl-Wh should work. If it doesn't for you, check File | Settings | Vim Emulation and your ~/.ideavimrc config for some keyboard shortcut clashes.

There is one known issue when one split has a row of open tabs that is higher than the row of another split, then you cannot switch to it due to the miscalculation in the window coordinates.

like image 196
Andrey Vlasovskikh Avatar answered Sep 29 '22 11:09

Andrey Vlasovskikh