Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does Intellij / Android Studio have a split screen option similar to this in vim?

enter image description here

share|improve this question
up vote 35 down vote accepted
  1. Open the context menu on a document tab by right-clicking on it.

  2. Select Split Vertically.

    enter image description here

  3. You will now have two columns to place document tabs into:

    enter image description here

Hotkey

If you want to assign a hotkey to the action, do the following:

  1. Open the Settings (Ctrl+Alt+S).

  2. Search for Split Vertically (or Split Horizontally, if that's what you're after) and select the Keymap in the IDE Settings.

    enter image description here

  3. Open the context menu for the action in question and select Add Keyboard Shortcut.

  4. Assign the desired hotkey. In this example, I chose Ctrl+Shift+P,V:

    enter image description here

  5. Here we can see the result of assigning a hotkey to both the vertical and horizontal split action:

    enter image description here

share|improve this answer
    
How do you do this from hotkey? – David T. Jul 22 '13 at 17:20
    
@DavidT.: I've added instructions to the answer. Hope it helps :) – Oliver Salzburg Jul 22 '13 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 '13 at 21:03
    
@DavidT.: Feel free to edit the answer to show the hotkey version for the Mac :) – Oliver Salzburg Jul 22 '13 at 23:39
    
Thanks Oliver! Do you know the key shortcut to jump between the split windows? – okysabeni Oct 9 '15 at 17:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .