Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Starting with this:</p> <pre><code>____________________ | one | two | | | | | |______| | | three| | | | |___________|______| </code></pre> <p>Make 'three' the active window, then issue the command <kbd>ctrl</kbd>+<kbd>w</kbd> <kbd>J</kbd>. This moves the current window to fill the bottom of the screen, leaving you with:</p> <pre><code>____________________ | one | two | | | | |___________|______| | three | | | |__________________| </code></pre> <p>Now make either 'one' or 'two' the active window, then issue the command <kbd>ctrl</kbd>+<kbd>w</kbd> <kbd>r</kbd>. This 'rotates' the windows in the current row, leaving you with:</p> <pre><code>____________________ | two | one | | | | |___________|______| | three | | | |__________________| </code></pre> <p>Now make 'two' the active window, and issue the command <kbd>ctrl</kbd>+<kbd>w</kbd> <kbd>H</kbd>. This moves the current window to fill the left of the screen, leaving you with:</p> <pre><code>____________________ | two | one | | | | | |______| | | three| | | | |___________|______| </code></pre> <p>As you can see, the manouevre is a bit of a shuffle. With 3 windows, it's a bit like one of those 'tile game' puzzles. I don't recommand trying this if you have 4 or more windows - you'd be better off closing them then opening them again in the desired positions. </p> <p>I made a screencast demonstrating <a href="http://vimcasts.org/episodes/working-with-windows/" rel="noreferrer">how to work with split windows in Vim</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload