tags:

views:

136

answers:

3

Hi all,

Quick question: How do I specify the number of characters in a split window? C-x-3 Splits my window into two windows evenly, but a subsequent split will split one of the windows in half. I'd like 3 equal sized windows. The documentation says that I should be able to specify the number of characters for the left buffer as a parameter, but I cant seem to get that to work. Any ideas for syntax?

Thanks.

+3  A: 

To specify the number of characters in the split window, do:

C-u number-of-characters C-x 3

Nikwin
Baller!!!!!!!!!
Michael
+8  A: 

C-x 3 followed by C-x + to equally size all windows.

Josh Matthews
oo another good one
Michael
+2  A: 

I have the following in my .emacs:

(defadvice split-window-horizontally (after rebalance-windows activate)
  (balance-windows))
(ad-activate 'split-window-horizontally)

this makes emacs call rebalance-windows (which is what C-x + is bound to by default) after every resize. It's not what I want all the time, but I want it much more often than the default behavior.

quodlibetor