shortcut key to move between splits?

Answered

I found the split window option (window -> split vertically) pretty useful.  Is there a shortcut key that allows me to move the cursor to another split window?  ctrl-tab cycles through all the "tab"s.  I want to just jump to the next split window.

3
9 comments

There are 2 actions in the Keymap:
Goto Next Splitter
Goto Previous Splitter

They are in conflict with Switcher since they use the same shortcut (Ctrl+Tab), you can change the keyboard shortcut to fix this problem.

See also: http://youtrack.jetbrains.net/issue/IDEA-23698.

10

Here is a simple shortcut without remapping keys if you use the `IdeaVim` plugin. You can use Vim's `Ctrl + W`  and then either use `W`  to toggle split windows or `H`,`J`, `K`,`L` to move between windows.

Vim is powerful, isn't it? :) 

5

Victor Cui1996 You can try to assign a custom shortcut for "Move To Opposite Group" action:

1

Ah!  It never occured to me that there was a clash of shortcut keys.  Thanks for the explanation!

0

Vim Ctrl+w w works great!!

Do you also have a vim-intellij shortcut to move in between general panels? Like move from source to error or move from source to project structured etc?

0

Tomerbd1Ctrl+1, Ctrl+2 etc. See "View | Tool Windows" to see all the shortcuts. 

0

is there a shortcut for moving a file to a split window? Like say there's a file that's on my right window split..how can I move it to my left window split with a keyboard shortcut?

0

I searched for it, couldn't find one. But you can press CTL + tab. It will pop a dialog from which you can select a file from opposite group. Now, you are in another opposite group.

0

Hello, Kazhian. Could you please share a screenshot of the Settings | Keymap window, the Other | Tab category? The shortcut action should be presented there. Also, please specify which IDE you use.

 

0

Please sign in to leave a comment.