emacs 可以动态的调整窗口大小吗?

比如我有两个窗口,一左一右。当我的光标在左边的窗口的时候,右边的窗口缩小,左边的窗口放大。反之,当我的光变在右边的时候,右边的窗口放大,左边的窗口缩小?是否有这样的包呢?

golden-ratio

1 个赞

zoom 包

谢谢 我看看

请问您用同时用nswbuff吗?我在nswbuff包里面看到 “ Packages such as zoom and golden-ratio automatically resize windows to ensure that the active window always has a certain minimum size. There is no point in resizing the buffer switching window, however, so in order to prevent that from happening, you should add the name of the nswbuff status buffer to golden-ratio-exclude-buffer-names or zoom-ignored-buffer-names . This name defaults to " *nswbuff*" (without the double quotes; note the initial space).” 但是我尝试以后nswbuff还是会改变大小,我的配置不知道对不对,如下: (require 'zoom) (custom-set-variables '(zoom-mode t) '(zoom-size '(0.618 . 0.618)) '(zoom-ignored-major-modes '(dired-mode treemacs-mode ranger-mode python-mode)) '(zoom-ignored-buffer-names '( nswbuff)) '(temp-buffer-resize-mode t) ;; '(zoom-ignored-buffer-name-regexps '(“^\b”)) ) 能帮我看看吗?