category category - 1 year ago 145
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?

Answer Source

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)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download