Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to switch only between editor windows (not tabs) in split mode

I frequently use the split editor window where I have some files in the left window and some in the right. How can I easily switch between these windows using only the keyboard?

There is a mapping on Ctrl+Tab that invokes the switcher. This however only works good if you have exactly one file open in each of the two windows. If you have more than one open Intellj Idea also wants to switch between the open tabs.

like image 660
Björn Jacobs Avatar asked Sep 04 '14 13:09

Björn Jacobs


1 Answers

What you want is "Goto next splitter" and "Goto previous splitter" under the menu "Window > Editor Tabs". On Mac OS X, they have predefined keyboard shortcuts:

  • Mac ⌥⇥ (option, tab), ⌥⇧⇥ (option, shift, tab)

However, Windows does not have pre-define keyboard shortcuts, so you will have to make them yourself in "Preferences > Keymap" and assign your own short cut.

Keymap preferences

The trouble is finding one that does not conflict with an existing mapping; I've set mine to:

  • Alt+Shift+> for "Goto next splitter"
  • Alt+Shift+< for "Goto prevous splitter"

Setting the shortcut

like image 148
kuporific Avatar answered Sep 17 '22 19:09

kuporific