category category - 3 months ago 35
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
repl loads with a side by side split - how can I switch this back to a stacked split permanently?


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)