Does Intellij / Android Studio have a split screen option similar to this in vim?
1 Answer
Open the context menu on a document tab by right-clicking on it.
Select Split Vertically.
You will now have two columns to place document tabs into:
Hotkey
If you want to assign a hotkey to the action, do the following:
Open the Settings (Ctrl+Alt+S).
Search for Split Vertically (or Split Horizontally, if that's what you're after) and select the Keymap in the IDE Settings.
Open the context menu for the action in question and select Add Keyboard Shortcut.
Assign the desired hotkey. In this example, I chose Ctrl+Shift+P,V:
Here we can see the result of assigning a hotkey to both the vertical and horizontal split action:
-
-
@DavidT.: I've added instructions to the answer. Hope it helps :) Jul 22, 2013 at 18:18
-
works! thanks so much!! oh, and step 1 -> on the mac, the settings hotkey is actually CMD + , (but that's something most mac users already know, so it's fine as is :)– David T.Jul 22, 2013 at 21:03
-
@DavidT.: Feel free to edit the answer to show the hotkey version for the Mac :) Jul 22, 2013 at 23:39
-
Thanks Oliver! Do you know the key shortcut to jump between the split windows? Oct 9, 2015 at 17:36