C-x 4 b 在当前缓冲区的左边打开一个新的缓冲区
C-x 4 b open a new buffer to the left of the current buffer
当点击 C-x 4 b
时调用 ivy-switch-buffer-other-window
,
新缓冲区将在当前缓冲区的下方垂直打开。
如何将新打开的缓冲区定位到当前缓冲区的左侧。
根据code, ivy-switch-buffer-other-window
is an enhanced version of the built-in switch-to-buffer-other-window
. The latter command can be controlled with the variables split-width-threshold
and split-height-threshold
(link to docs).
因此,为了让 Emacs 更喜欢并排打开新缓冲区而不是在下方打开新缓冲区,您可以尝试将变量 split-width-threshold
设置为较低的数字,例如 50。这对我来说适用于非常春藤命令,但是,新缓冲区在右侧打开,而不是在左侧。
如果您想要更精细的控制,另请参阅 this involved stack exchange question。
当点击 C-x 4 b
时调用 ivy-switch-buffer-other-window
,
新缓冲区将在当前缓冲区的下方垂直打开。
如何将新打开的缓冲区定位到当前缓冲区的左侧。
根据code, ivy-switch-buffer-other-window
is an enhanced version of the built-in switch-to-buffer-other-window
. The latter command can be controlled with the variables split-width-threshold
and split-height-threshold
(link to docs).
因此,为了让 Emacs 更喜欢并排打开新缓冲区而不是在下方打开新缓冲区,您可以尝试将变量 split-width-threshold
设置为较低的数字,例如 50。这对我来说适用于非常春藤命令,但是,新缓冲区在右侧打开,而不是在左侧。
如果您想要更精细的控制,另请参阅 this involved stack exchange question。