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
11 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

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

0

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

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

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

1

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

Is there a way to cycle through each split when we reach the end of “Next Tab”?

For instance, two split window, with 3 tabs each. When cycling through the next tab while being on the 3rd tab it would cycle through the next split window.

I guess it would be a cycle hierarchy with:
- Split windows (1-2)
- Tabs (1-3)

Doing: 1.1, 1.2, 1.3 → 2.1, 2.2, 2.31.1, 1.2,

0

Remy Machado

Workaround: use Cmd+` for switching project tabs and Ctrl+arrows for switching editor tabs.

Please upvote the related ticket https://youtrack.jetbrains.com/issue/IJPL-59205

0

Please sign in to leave a comment.