Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs split into 3 even windows

Tags:

emacs

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.

like image 898
Dirk Avatar asked Apr 05 '10 07:04

Dirk


People also ask

How do I open multiple Emacs windows?

You can split a window horizontally or vertically by clicking C-Mouse-2 in the mode line or the scroll bar.

How do I open multiple Emacs?

Much better to use the multiple buffer feature of emacs. If you are editing the first file and want to start editing the second file, simply use the hot key C-x C-f or the menu selection File->Open File to start the second file. The second file is loaded into its own buffer.

How do I change the size of my Emacs window?

Type C-c + to enlarge the window. Then hit + or - repeatedly to enlarge/shrink the window. Any other key ends the resize operation.


2 Answers

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

like image 59
Josh Matthews Avatar answered Oct 16 '22 17:10

Josh Matthews


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

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

like image 28
Nikwin Avatar answered Oct 16 '22 16:10

Nikwin