Emacs usualy automaticaly splits the window horizontaly.
How can I change this default behaviour, so that the window is splited verticaly by default?
Emacs usualy automaticaly splits the window horizontaly.
How can I change this default behaviour, so that the window is splited verticaly by default?
Use (setq split-width-threshold nil)
for vertical split.
Use (setq split-width-threshold 1 )
for horizontal split.
Use http://www.emacswiki.org/emacs/ToggleWindowSplit to toggle between them.
Use http://www.emacswiki.org/emacs/TransposeWindows to transponse them.
M-x Customize-Group [RET] Windows
There you have Split Window Preferred Function
, Split Height Threshold
and Split Width Threshold
. Set Split Height Threshold
to nil
and Split Width Threshold
to 0
For me it worked with
(setq split-width-threshold 0)
(setq split-height-threshold nil)