【插件分享】 zoom: 窗口管理插件,自动调整 window 布局

21 世纪了,确定不来点自动化吗?

我的配置(照抄 readme)

(custom-set-variables
 '(zoom-mode t))
(defun size-callback ()
  (cond ((> (frame-pixel-width) 1280) '(90 . 0.75))
        (t                            '(0.5 . 0.5))))
(custom-set-variables
 '(zoom-size 'size-callback))
(custom-set-variables
 '(zoom-ignored-major-modes '(dired-mode markdown-mode))
 '(zoom-ignored-buffer-names '("zoom.el" "init.el"))
 '(zoom-ignored-buffer-name-regexps '("^*calc"))
 '(zoom-ignore-predicates '((lambda () (> (count-lines (point-min) (point-max)) 20)))))

亦或您更喜欢手动挡?

2 个赞