category category - 1 month ago 13
Python Question

spacemacs - python layer repl loads with horizontal split

In spacemacs, I must have pressed a strange combination, because when I press

C-c C-p
my
ipython
repl loads with a side by side split - how can I switch this back to a stacked split permanently?

Answer

From the documentation:

If split-height-threshold is smaller than the chosen window’s height, the split puts the new window below. Otherwise, if split-width-threshold is smaller than the window’s width, the split puts the new window on the right.

Therefore add the following to dotspacemacs/user-config:

(setq split-height-threshold 0)