emacs 内容居中显示

参考olivetti,可以通过加宽fringe实现居中:

(set-window-margins (selected-window) 40 40)

当然olivetti里面的左右fringe宽度是计算的。

5 个赞