prevent emacs from splitting vertically?

My Mac has Emacs v22 and it only splits horizontally when I type ^x-2.

My Linux system has Emacs v24 and it splits vertically when Emacs thinks that's a better choice. The problem is, I don't want it to split that way. How do I prevent emacs from splitting vertically?

3

2 Answers

See the Emacs manual, node Window Choice. In particular, see user options split-height-threshold and split-width-threshold.

Specifically, add this to your .emacs file:

(setq split-width-threshold nil)

For splitting horizontally use C-x 3. You can find more options here.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like