Re: split screen horizontally into three equally spaced sections
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: split screen horizontally into three equally spaced sections         

Group: gnu.emacs.help · Group Profile
Author: Allan Gottlieb
Date: Sep 15, 2008 22:22

At Sun, 14 Sep 2008 04:52:18 -0700 (PDT) Gil 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]
no comments
diggit! del.icio.us! reddit!