spacemacs - python 层 repl 加载水平分割

spacemacs - python layer repl loads with horizontal split

在 spacemacs 中,我一定是按下了一个奇怪的组合,因为当我按下 C-c C-p 时,我的 ipython repl 加载并排拆分 - 我如何才能将其切换回堆叠拆分永久?

来自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.

因此将以下内容添加到 dotspacemacs/user-config:

(setq split-height-threshold 0)