[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split screen horizontally into three equally spaced sections
From: |
Allan Gottlieb |
Subject: |
Re: split screen horizontally into three equally spaced sections |
Date: |
Tue, 16 Sep 2008 01:22:49 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
At Sun, 14 Sep 2008 04:52:18 -0700 (PDT) Gil <gilbert.harman@gmail.com> wrote:
> Is there a way to split the screen horizontally (C-x 3) in such a way
> that the three windows are equally spaced?
Yes, You want balance-windows (see below).
C-x 1 C-x 3 C-x 3 C-x +
Will give you three equal size windows in the frame.
allan
C-x + runs the command balance-windows
which is an interactive compiled Lisp function in `window.el'.
It is bound to C-x +.
(balance-windows &optional WINDOW-OR-FRAME)
Make windows the same heights or widths in window split subtrees.
When called non-interactively WINDOW-OR-FRAME may be either a
window or a frame. It then balances the windows on the implied
frame. If the parameter is a window only the corresponding window
subtree is balanced.
[back]